[pypy-dev] Making the most of internal UTF8

Jerry Spicklemire jspicklemire at gmail.com
Wed Feb 26 10:08:49 EST 2020


Is there a tutorial about how to best take advantage of PyPy's internal
UTF8?

The docs say the PyPy now uses UTF8 internally to represent unicode.

So, for an old codger, that sounds like were are back to a point where
ASCII
characters just act normally again, like in Python v.2, since ASCII IS
UTF8.

In other words, within the range of ASCII characters, the UTF8
representation
is identical to the ASCII representation. So, does that mean we can put the
'u'
and 'b' prefix nightmares behind us? It would help some diehards finally
make
the switch to v.3.X, in spite of the bad taste that lingers from
early attempts.

There is a universe of v.2.X code out there, in production, and something
like
this would go a long way toward motivating folks so go ahead and update.

The fewer the barriers, the more likely the movement.

Oh, and incidentally, it would help promote the use of PyPy, as well ...

Thanks!
Jerry S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20200226/c91166d6/attachment.html>


More information about the pypy-dev mailing list