Last-minute tweaks for release
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
d694a9e766
commit
6d3a04cfef
13
ChangeLog
13
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
|
2019-06-22 David A. Wheeler
|
||||||
|
* Version 2.0.10
|
||||||
* Use binary mode when reading a diffhitlist.
|
* Use binary mode when reading a diffhitlist.
|
||||||
My thanks to Michał Górny, who both reported the problem
|
My thanks to Michał Górny, who both reported the problem
|
||||||
and provided the patch!
|
and provided the patch!
|
||||||
|
|
|
@ -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('3. Run: PYTHONUTF8=0 LC_ALL=C.ISO-8859-1 python3 flawfinder')
|
||||||
print(' if your data has an unknown or inconsistent encoding')
|
print(' if your data has an unknown or inconsistent encoding')
|
||||||
print(' (ISO-8859-1 encoders normally allow anything).')
|
print(' (ISO-8859-1 encoders normally allow anything).')
|
||||||
print('4. Convert all your source code to the UTF-8 encoding;')
|
print('4. Convert all your source code to the UTF-8 encoding.')
|
||||||
print(' the program "iconv" is good at this.')
|
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('5. Run: python2 flawfinder')
|
||||||
print(' (That is, use Python 2 instead of Python 3).')
|
print(' (That is, use Python 2 instead of Python 3).')
|
||||||
print('Some of these options may not work depending on circumstance.')
|
print('Some of these options may not work depending on circumstance.')
|
||||||
|
|
Loading…
Reference in New Issue