bernhard: thuban ChangeLog,1.757,1.758

Bernhard Herzog bh at intevation.de
Thu Jan 20 12:55:27 CET 2005


Bernhard Reiter <bernhard at intevation.de> writes:

> On Thu, Jan 20, 2005 at 12:42:34PM +0100, Bernhard Herzog wrote:
>> We should use the the "replace" error handler for the encode method.
[...]
>
> I thought that also and tried it, but I did get an exception.
> I might have done it in the wrong way, though. 

>>> u'M\xfcller'.encode("ascii", "replace")
'M?ller'

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

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