does drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c have an uncommon character set ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The html formatter of the static checker Cppcheck stumbles over that file. In fact, even this small python snippet :

#!/usr/bin/env python

import io

source_filename = "./drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c";

try:
	with io.open(source_filename, 'r') as input_file:
		content = input_file.read()
except IOError:
	sys.stderr.write("ERROR: Source file '%s' not found.\n" %
			source_filename)



fails with : UnicodeDecodeError: 'utf8' codec can't decode byte 0xb3 in position 47021: invalid start byte



-- 
Toralf

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux