On Fri, May 24, 2013 at 12:52 AM, Erik Huelsmann <ehuels_at_gmail.com> wrote:
> One application has multiple active code page settings on Windows. Or course
> if your example was the only option, we would not be having this discussion.
>
Very interesting. In my mind, application only can have 1 active
locale in 1 thread. When gettext() got called, the current locale is
uniquely. Could you give me a sample ?
Regards,
Dongsheng
> Bye,
>
> Erik.
>
> sent from my phone
>
> On May 23, 2013 6:44 PM, "Dongsheng Song" <dongsheng.song_at_gmail.com> wrote:
>>
>> On Thu, May 23, 2013 at 11:38 PM, Erik Huelsmann <ehuels_at_gmail.com> wrote:
>> > That was not my point nor the point we discussed back then. As long as
>> > gettext tries to convert its translations to *any* encoding, it's flawed
>> > by
>> > design, because some systems have multiple active output encodings (e.g.
>> > Windows).
>> >
>>
>> This does not matter. If I open 2 console window, one is CP437, the
>> other is CP936. Then svn in CP437 windows generate English (ASCII)
>> output, CP936 windows generate Chinese (GBK/GB18030) output.
Received on 2013-05-23 18:59:36 CEST