Ah Python, you have spoiled me for all other languages

Chris Angelico rosuav at gmail.com
Sat May 23 09:12:27 EDT 2015


On Sat, May 23, 2015 at 11:01 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> I'm not saying that it is impossible to have a correct Unicode implemention
> using UTF-16, but I've never seen one.

I suspect this is partly because, if you're aiming for correct Unicode
semantics, UTF-8 offers everything that UTF-16 does and more. The only
reason to use UTF-16 is so you can pretend that UCS-2 is good enough.

ChrisA



More information about the Python-list mailing list