pyprojection problem

Didrik Pinte dpinte at itae.be
Fri Jan 25 16:54:21 CET 2008


On Fri, 2008-01-25 at 16:39 +0100, Bram de Greve wrote:
> Bram de Greve wrote:
> > Remember that you need to encode the unicode string into a narrow
> > character string at some point.  So you'll have to pick an encoding. 
> > Either ASCII and throw exceptions when non-ASCII characters are found
> > (or ANSI or whatever).  Not a big problem as any encoding function will
> > throw that exception for you.  Or encode as UTF-8 ...
> >   
> Of course, you should first investigate if there's any particular
> encoding the PROJ.4 library is expecting.  I presume that will not be
> UTF-8 =)
> > Cheers,
> > Bramz

You're right. We don't need any encoding over there. 

Problem seems to be output of wx text boxes that are unicode strings. If
this is changed, everything will be ok ;-)

Didrik




More information about the Thuban-devel mailing list

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