Re:Mercurial’s journey to and reflections on Python 3
by lmm on Monday January 13, 2020 @07:11PM
(#22040294)
UTF-16 is not "just bytes". There are sequences of bytes that are not valid UTF-16, so if you want to roundtrip bytes through UTF-16 you have to do something smarter than just pretending the byte sequence is UTF-16.
[ Parent
| on HN ]