bernhard: thuban ChangeLog,1.757,1.758
Bernhard Reiter
bernhard at intevation.de
Thu Jan 20 12:47:25 CET 2005
On Thu, Jan 20, 2005 at 12:42:34PM +0100, Bernhard Herzog wrote:
> Bernhard Reiter <bernhard at intevation.de> writes:
>
> > 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.
>
> We should use the the "replace" error handler for the encode method.
> Even if we know the target encoding, we have no guarantee at all that it
> supports all the characters we need. With "replace" we won't get an
> exception and the user will see a "?" for characters that couldn't be
> converted. not ideal, but there's not much we can do about it.
I thought that also and tried it, but I did get an exception.
I might have done it in the wrong way, though.
-------------- 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/040acdfe/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)