Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think Armin Ronacher has the best overview: http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/

But it's basicly Python three killing of the byte-string and ignoring the fact that in some cases it actually makes sense to work with string that are specifically not unicode, rather than resorting to have a bytes type instead.



I don't see how it is coherent to ask for a string that is not unicode, and not bytes. What is it?


A string encoded in some non-unicode encoding.

Not everything in the world is unicode (or unicode compatible the way, say, US-ASCII is.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: