News for hackers. Stuff that matters.
Re:Python 3 makes it easier to develop high-quality software by zo1 on Wednesday November 18, 2015 @03:38PM (#10590581)
Not at all, it forces you to unify to storing character data as Unicode code-points. Eventually if you go down far enough, you're reading the raw bytes you speak of from some sort of external system/file/DB. It's at that point that you define your encoding, and never worry about it every again. Except for when you touch those external systems/files again, again with full knowledge about what encoding is required.

Either way, if you're not dealing with differently encoded character data in Python 2.x as noted above, you're causing yourself some unnecessary headaches.

There are no comments on this comment yet.