[Python-Dev] Re: Python 1.6a2 Unicode bug (was Re: comparing strings and ints)
Guido van Rossum
guido at cnri.reston.va.us
Tue May 2 14:16:49 EDT 2000
"Walter Doerwald" <walter at data.franken.de> writes:
> On Sun, 30 Apr 2000 17:43:10 +0100 Just van Rossum wrote:
> > At 9:56 AM +0200 28-04-2000, Walter Doerwald wrote:
> > > 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?
> > It doesn't; it'll just assume utf-8...
> Ouch, does this means that I have to type my source code in plain ASCII, as
> long as I don't have a texteditor that doesn't save UTF-8, but only
> ISO-8859-1? This seems really bad to me.
No, this is still open for discussion! We're considering various
options for source code encoding. Most likely there will be a pragma
or a "magic comment" to indicate the source code encoding.
There's currently a lively discussion on this going on in the i18n-sig
-- please join us there!
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-list