[Python-Dev] String encoding

Fredrik Lundh fredrik@pythonware.com
Tue, 23 May 2000 15:09:11 +0200

Peter wrote:
> >     assert eval(repr(s)) =3D=3D s
> What's the problem with this one?  I've played around with several
> locale settings here and I observed no problems, while doing:

what if the default encoding for source code is different
from the locale?  (think UTF-8 source code)

(no, that's not supported by 1.6.  but if we don't consider that
case now, we won't be able to support source encodings in the
future -- unless the above assertion isn't important, of course).