-
Use given encoding in bytes2str (olevba).
-
encoding parameter is passed to bytes2str and it's also mentioned in its description but method actually always used UTF-8.
-
…ernel32' to base64 whitelist
-
…gex in keywords, added autoexec keywords from mraptor, fixes #499
-
test-cases: add support for encrypted corpus
-
Encoding for non unicode environments
-
…/xxxswf/src/master/, see issue #485
-
msodde: Fix UnicodeError
-
Some debug-logging did not take into account that data added to output could be non-ascii.
-
log_helper does that for us
-
log_helper does that for us
-
log_helper does that for us
-
This way, all modules that use the log_helper do not need to call ensure_stdout_handles_unicode (e.g. msodde, olevba)
-
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.