<br><br><div class="gmail_quote">On Fri, Dec 12, 2008 at 3:51 PM, a_olme <span dir="ltr"><<a href="mailto:anders.olme@gmail.com">anders.olme@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>
<br>
When I try to use umlauts in idle it will only print out as Unicode<br>
escape characters. Is it possible to configure idle to print them as<br>
ordinary characters? </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Best Regards Anders Olme</blockquote><div><br><br>Make sure you are using Unicode strings and not byte strings. This is why Python 3 switched to using Unicode by default.<br><br>IDLE 2.6.1 on Mac 10.5 :<br><br>>>> print u'\u00c4'<br>
Ä<br>>>> print '\u00c4'<br>\u00c4<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>