[Python-modules-team] Bug#611923: Bug#611923: python-xdg: wrong behaviour breaking apps on non-supported locale
Piotr Ożarowski
piotr at debian.org
Fri Feb 4 08:37:32 UTC 2011
[Yann Dirson, 2011-02-03]
> In [6]: print "%s" % e.getName()
> ------> print("%s" % e.getName())
> Ãchecs
please do not use ipython to test encoding related issues, it has
problems...
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 0: ordinal not in range(128)
.encode('utf-8')?
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
More information about the Python-modules-team
mailing list