[Python-de] MySQLDB und UNICODE
M.-A. Lemburg
mal at lemburg.com
Wed Jan 9 10:52:44 EST 2002
> Sharriff Aina wrote:
>
> ich kriege eine List von strings (= record set) von meine test CGI
> script, strings mit Umlaute werden falsch dargestellt:
>
> ##
>
> (8L, '10.11.1999', 'test', ''T\xfcrkei' ) ## sollte 8 '10.11.1999',
> 'test', 'Türkei') sein
Das ist vollkommen korrekt so: '\xfc' ist die kodierte Version von
'ü'...
>>> print '\xfc'
ü
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/
More information about the Python-de
mailing list