I tried your link, but the notes there left me even more confused. I
did check out a few things that were mentioned in the notes, though.
1) my OS is VISTA64; Python 2.5.4; IDLE 1.2.4
2) sys.stdin.encoding is 'cp1252' (seems to be the standard Windows
code page for single byte encodings)
3) my Options / General / Default Source Encoding is set to UTF-8
4) my Base Editor Font is Doulos SIL
5) my background is decades in programming, but zero in Python and
zero in the UNIX world.
the IDLE window seems to handle single byte unicode OK
>>> a = u'\xf0'
>>> print a
ð
works fine.
>>> b = 'ð'
>>> print b
ð
works fine.
But as soon as I use characters past single byte codepoint values,
IDLE rejects the inputː
>>> c = 'ǣ'
Unsupported characters in input
These results seem to be independent of whether or not I have executed
the lineː
"#-*- coding: utf-8 -*-"
As a first step, I need to figure out how to get IDLE to accept a wide
range of linguistic characters on the input line, and I haven't found
the magic formula to make it do that yet.
Any help will be appreciated.
Uncle Bruce, still frustrated in Toronto
On May 2, 3:30 am, Steven Bird <
stevenbi...@gmail.com> wrote:
> 2009/5/2 Uncle Bruce <
bruce...@rogers.com>:
>
> > WORD, Toolbox and other programs work fine using utf-8 encoding.
> > What, exactly do I need to do to get IDLE to use utf-8?
>
> Please see comp.lang.python about this
>
>
http://groups.google.com/group/comp.lang.python/search?group=comp.lan...