Python's 8-bit cleanness deprecated?

Anders J. Munch andersjm at dancontrol.dk
Wed Feb 5 16:22:46 CET 2003


"Jeff Epler" <jepler at unpythonic.net> wrote:
> On Tue, Feb 04, 2003 at 12:41:51PM -0800, Scott David Daniels wrote:
> > (Talk to Chinese or Japanese programmers
> > about how efficient UTF-8 is).
> 
> And how do Hebrew, Greek, or Arabic speakers feel about the "efficiency"
> of shift-jis or euc-jp?
> 
> Surely Europeans have more of a right to complain, since the non-ASCII
> chars they use expand from 1 to 2 bytes when going from iso-8859-x to
> utf-8 (a 100% expansion), while changing from shift-jis to utf-8
> generally means an expansion from 2 to 3 bytes (a 50% expansion).

You seem to assume a 100% frequency of non-ascii characters in Python
code.  Not likely.

Still, I doubt that source size is really that important.

- Anders






More information about the Python-list mailing list