News for hackers. Stuff that matters.
Re:The sad history of Unicode printf-style format specifiers... by xurukefi on Thursday December 01, 2022 @03:42AM (#33813827)
In my experience, most technical people these days still don't know the difference between UTF-8 and Unicode for example.
Re:The sad history of Unicode printf-style format specifiers... by Tempest1981 on Thursday December 01, 2022 @03:49AM (#33813877)
Re:The sad history of Unicode printf-style format specifiers... by aew4ytasghe5 on Thursday December 01, 2022 @04:30AM (#33814144)
You found a quality link.
Re:The sad history of Unicode printf-style format specifiers... by ChrisSD on Thursday December 01, 2022 @09:10AM (#33816394)
It does simplify things in places. One thing that isn't covered is that a code point is not necessarily a letter or vice versa. E.g. a single letter/symbol/emoji/whatever can be made up of multiple code points. So it isn't quite true that one "platonic" letter is one code point (it may or may not be).
Re:The sad history of Unicode printf-style format specifiers... by Spivak on Thursday December 01, 2022 @09:59AM (#33817049)
If you deal with strings in Python 3 it kinda forces this distinction on you and I think is right to do so. It makes you painfully aware when you're assuming the world is utf-8.