On Sat, Jun 14, 2014 at 07:36:31PM +0200, Toralf Förster wrote:
> 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
Then the tool needs to be fixed, there's nothing wrong with that
character in the kernel source tree.
thanks,
greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel