PEP 263 status check

Michael Hudson mwh at python.net
Fri Aug 6 07:46:26 EDT 2004


"John Roth" <newsgroups at jhrothjr.com> writes:

> If I understand you correctly, if I put, say, a mixture of
> Cyrillic, Hebrew, Arabic and Greek into a byte string
> literal, at run time that character string will contain the
> proper unicode at each character position?

Uh, I seem to be making a habit of labelling things you suggest
impossible :-)

> Or are you trying to say that the character string will
> contain the UTF-8 encoding of these characters; that
> is, if I do a subscript, I will get one character of the
> multi-byte encoding?

This is what happens, indeed.

Cheers,
mwh

-- 
  This is the fixed point problem again; since all some implementors
  do is implement the compiler and libraries for compiler writing, the
  language becomes good at writing compilers and not much else!
                                 -- Brian Rogoff, comp.lang.functional



More information about the Python-list mailing list