Bug#682261: osc: Fix locale encoding extraction for locales with modifiers

2012-08-06 Thread Michal Čihař
Hi Dne Fri, 20 Jul 2012 21:35:23 +0200 Jordi Mallach jo...@collabora.co.uk napsal(a): 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

Bug#682261: osc: Fix locale encoding extraction for locales with modifiers

2012-07-20 Thread Jordi Mallach
Package: osc Version: 0.134.1-2 Severity: normal Tags: l10n 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. Patch attached, fixes the