Hi,

Correction:

The last report was based on a different computer having a different system 
locale.

To conclude after different tests:
when Windows system locale = Hong Kong, codeset = cp950
when Windows system locale = China (PRC), codeset = cp936
but hehaviour the same in both cases:
when Windows language format = “[zh_CN]” or "[zh_SG]” or “[zh_TW]”, 
translation error appears, but Dabodemo can run.
when Windows language format = “[zh_HK]” or "[zh_MO]”, translation error 
appears,  “LookupError: unknown encoding: A” appears, and Dabodemo cannot 
proceed.

Regards,

K C Tang

-----Original Message----- 
From: K C Tang
Sent: Tuesday, February 01, 2011 4:16 PM
To: [email protected]
Subject: Re: Locale

Hi,

Answers:

>>>  locale.getlocale()
(None, None)
>>>  locale.getdefaultlocale()
('zh_HK', 'cp936')
>>> locale.getpreferredencoding()
'cp936'

Not cp950 as reported when running Dabo. Would this help?

It would be good if the possible reasons for

"LookupError:
unknown encoding: A"

is suggested so that I can do some trials.

Regards,

K C Tang


>
> Hi.
>
> Could you give me the output from the following commands for not working 
> configurations:
>     locale.getdefaultlocale()
>     locale.getpreferredencoding()
>
> -- 
> Regards
> Jacek Ka?ucki
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/C270A963171A474497A0EB3FA3022A04@KcTangASUS

Reply via email to