News for hackers. Stuff that matters.
Re:Moving Away from Python 2 by the_why_of_y on Saturday May 21, 2016 @06:35AM (#11744163)
Windows doesn't actually support Unicode, not really (for backwards compatibility reasons): it's just UCS-2 at the OS level, and hence you can't represent OS level strings as UTF-8 without data loss, because in practice you need to handle lone UTF-16 surrogate code units. This is why WTF-8 exists.

https://simonsapin.github.io/wtf-8/

There are no comments on this comment yet.