News for hackers. Stuff that matters.
Re:The sad history of Unicode printf-style format specifiers... by fluoridation on Thursday December 01, 2022 @08:47AM (#33816126)
Note that Windows uses UTF-16, not UCS-2.
Re:The sad history of Unicode printf-style format specifiers... by scurvy_steve on Thursday December 01, 2022 @09:09AM (#33816388)
It uses what's sometimes referred to as WTF-16. It's UTF-16 but with no actual guarantee that its well formed(i.e. invalid surrogate pairs).