Message10718
Logged In: YES
user_id=21627
I see. For that, you should not use getdefaultlocale. The
reason is that getdefaultlocale cannot possibly determine
the locale's encoding correctly. Instead, you should use
locale.nl_langinfo where available (invoking setlocale
beforehand).
The fix you are reporting as 'easy' is a hack rather than a
solution: there is no guarantee whatsoever that the encoding
in a @euro locale will be Latin-9; it could just as well be,
say, UTF-8. Likewise, there might be other locales with
implied encodings. |
|
Date |
User |
Action |
Args |
2007-08-23 14:01:14 | admin | link | issue554676 messages |
2007-08-23 14:01:14 | admin | create | |
|