Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using locale.getdefaultlocale() for encoding detection breaks with locales that use modifiers, such as de_DE@euro, or ca_ES@valencia. Use locale.getpreferredencoding() instead, which should do the right thing.
- Loading branch information