[Python-Dev] Re: Python 1.6a2 Unicode bug (was Re: comparing strings and ints)

Walter Doerwald walter at data.franken.de
Fri Apr 28 03:56:27 EDT 2000


On Fri, 28 Apr 2000 11:55:05 +1000 Neil Hodgson wrote:

> > Would it be possible to write the source code in UTF-16 (which is much
> > easier to to under WinNT with NotePad, I know no text editor under that
> > writes UTF-8)
>
>    The W2K version of Notepad writes UTF-8 as well as UCS-2. I don't know
> of
> any editor that understands UTF-16.

Of course I meant UCS-2, but I'm confused now. Isn't UCS-2 and UTF-16 more
or less the same?

> Idle writes UTF-8. Beta versions of
> Scintilla/SciTE and Pythonwin 131 can write UTF-8.

But I find UCS-2 much cleaner, because it's easily distinguished from
ASCII/UTF-8/ISO8859-1/..., distinguishing between UTF-8 and ISO8859-1 has
to be done by "external" methods. How does Python do it?

Bye...
	Walter

--
Walter Dörwald · walter at data.franken.de · Kommunikationnetz Franken e.V.




More information about the Python-list mailing list