-
Without this I got ASCII encoding on my machine
-
The xml parser takes the encoding from the file header
-
This makes usage of uopen unnecessary.
-
open() of text-files also depends on locale.getpreferredencoding which is "ascii" (or so) if e.g. LANG=C or if redirecting output in python2. Provide a function uopen() that ensures text-files are always opened such that unicode text can be read properly.
-
This is only an unimportant test that apparently has never been run (had a fatal error)
-
This replaces an earlier partial custom solution
-
When print()ing unicode, python relies on locale.getpreferredencoding to determine how to represent unicode text. This fails in several cases, e.g. when redirecting output, piping output into other programs or when the shell environment has no locale defined (e.g. in linux with LANG=C). In all these cases, print()ing non-ascii characters raises unicode exceptions. Prevent these errors by encoding output in case of redirection, replacing unhandleded chars in case of unicode-unfriendly shells. This tries to solve issue #361
-
Add standard LICENSE.md Fix #123
-
Add standard LICENSE.md Fix #123
-
Add Msxml2.SAXXMLReader.5.0 unknown CLSID Fix #458
-
Add URL carver for CVE-2017-0199 Fix #163
-
Add SCT to the list of executable file extensions Fix #276
-
Msodde failed decrypt fix
-
json is messed up in pypy with warnings
-
pypy's json loader does not accept newlines in strings
-
Might otherwise try to delete a non-existent file
-
…imports win_unicode_console