diff --git a/ChangeLog b/ChangeLog index 2237f58..ddad5da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,17 @@ +2020-02-17 David A. Wheeler + * Version 2.0.11 + * Provide a much more detailed error report, including recommended + solutions, when character encoding problems hit. + As Python3 has slowly gained in popularity, its failure to provide + useful built-ins to handle real-world character encoding problems + hurts more people. (E.g., many files don't comply with *any* + character set encoding standard, and Python3 can't read them + without enabling options that are wrong for others.) + We can at least provide much more detailed feedback to help + explain the various options available. + 2019-06-22 David A. Wheeler + * Version 2.0.10 * Use binary mode when reading a diffhitlist. My thanks to Michał Górny, who both reported the problem and provided the patch! diff --git a/flawfinder b/flawfinder index ef0aeec..60a2c1a 100755 --- a/flawfinder +++ b/flawfinder @@ -1529,8 +1529,9 @@ def process_c_file(f, patch_infos): print('3. Run: PYTHONUTF8=0 LC_ALL=C.ISO-8859-1 python3 flawfinder') print(' if your data has an unknown or inconsistent encoding') print(' (ISO-8859-1 encoders normally allow anything).') - print('4. Convert all your source code to the UTF-8 encoding;') - print(' the program "iconv" is good at this.') + print('4. Convert all your source code to the UTF-8 encoding.') + print(' The system program "iconv" or Python program "cvt2utf" can') + print(' do this (for cvt2tuf, you can use "pip install cvt2utf").') print('5. Run: python2 flawfinder') print(' (That is, use Python 2 instead of Python 3).') print('Some of these options may not work depending on circumstance.')