Use of Unicode in Python 2.5 source code literals
bruce306 at rogers.com
Sun May 3 16:26:59 CEST 2009
On May 3, 7:37 am, Matt Nordhoff <mnordh... at mattnordhoff.com> wrote:
> Uncle Bruce wrote:
I think I've figured it out!
What I was trying to do was to enter the literal strings directly into
the IDLE interpreter. The IDLE interpreter will not accept high
However, when I put a defined function in a separate file with high
codepoints, IDLE processes them just fine! display produced the
expected Hex strings, and Print displayed the correct characters.
More information about the Python-list