Skip to content

Better detection of user charset#8

Merged
marcus-h merged 1 commit intoopenSUSE:masterfrom
nijel:master
Aug 7, 2012
Merged

Better detection of user charset#8
marcus-h merged 1 commit intoopenSUSE:masterfrom
nijel:master

Conversation

@nijel
Copy link
Contributor

@nijel nijel commented Aug 6, 2012

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.

Originally reported at http://bugs.debian.org/682261

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.
marcus-h added a commit that referenced this pull request Aug 7, 2012
Better detection of user charset
@marcus-h marcus-h merged commit 3a23178 into openSUSE:master Aug 7, 2012
@marcus-h
Copy link
Member

marcus-h commented Aug 7, 2012

Thanks for the patch!

@marcus-h marcus-h mentioned this pull request Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants