Umlauts in idle
benjamin.kaplan at case.edu
Fri Dec 12 21:59:36 CET 2008
On Fri, Dec 12, 2008 at 3:51 PM, a_olme <anders.olme at gmail.com> wrote:
> Hello all,
> When I try to use umlauts in idle it will only print out as Unicode
> escape characters. Is it possible to configure idle to print them as
> ordinary characters?
> Best Regards Anders Olme
Make sure you are using Unicode strings and not byte strings. This is why
Python 3 switched to using Unicode by default.
IDLE 2.6.1 on Mac 10.5 :
>>> print u'\u00c4'
>>> print '\u00c4'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list