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

Toralf Förster toralf.foerster at gmx.de
Sat Jun 14 17:36:31 UTC 2014


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



More information about the devel mailing list