Re: [PyWrapper-devel] Unicode
Status: Alpha
Brought to you by:
jatorre
From: Shunde Z. <shu...@ad...> - 2007-06-14 00:41:50
|
Hi Markus, The raw XML from your server has the correct value, eg. Punbäcken. However, in my raw XML, this character is shown as "ä", which is not correct. Could you tell me how you configured it in detail? Did you just set it in: Home » Configtool » <datasource> » Connection >> Encoding Is there any other place I need to look at? I am using mysql and when I created the database, I didn't set any character set. so it is using the default one, utf-8. since if I dump the database, I can see: /*!40101 SET NAMES utf8 */; I think this means my database is using utf8. also I set utf8 in pywrapper. but it doesn't work. is it possible to debug it? thanks a lot. Cheers, Shunde. Quoting Markus Döring <m.d...@bg...>: > shunde, > pywrapper definitely supports unicode. > you can configure the character encoding for each datasource (the > character encoding used in the database, output should always be > utf8) and it works fine for the training dataset where there are at > least latin1 characters. see here: > > http://search.biocase.org/tapir/pywrapper?dsa=training&op=i&c=http:// > rs.tdwg.org/dwc/dwcore/Locality&limit=100 > > -- > Markus > > > > On 13.06.2007, at 07:08, Shunde Zhang wrote: > > > Hi all, > > > > Does pywrapper support unicode? I've done a test. In database, my > > value is > > "Universität". and in the XML returned from pywrapper it becomes > > "Universität". It seems not correct. Could anybody tell > > me how to > > configure pywrapper to support Unicode? thanks in advance. > > > > Cheers, > > Shunde. > > > > > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > PyWrapper-devel mailing list > > PyW...@li... > > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > PyWrapper-devel mailing list > PyW...@li... > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > |