bernhard: thuban ChangeLog,1.757,1.758

Bernhard Reiter bernhard at intevation.de
Thu Jan 20 12:38:49 CET 2005


On Thu, Jan 20, 2005 at 11:08:51AM +0100, Bernhard Herzog wrote:
> cvs at intevation.de writes:
> 
> > 	* Thuban/UiI/about.py: take iso-8859-15 when getdefaultlocale returns
> > 	None. (Fixes rt#2910.)
> 
> Are you sure we can rely on latin1 in the "C" locale?

No, but about and other code contains latin1 characters,
so I don't know of a better solution if None is returned.

If you use "ascii" which is the default calling .encode() will use,
then it also bombs becaue of the latin1 characters in the about dialog.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050120/e2a2fe1d/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)