Fix SYS_ENCODING should still be set if locale.setlocale fails (like it does on Windows)
Merge pull request #113 from Prinz23/fix_SYS_ENCODING

Fix SYS_ENCODING