Re:You can't just assume UTF-8
by morpheuskafka on Tuesday April 30, 2024 @12:19AM
(#40207213)
I got a ticket about some "folders with Chinese characters" showing up on an SMB share at work, my first thought was a Unicode issue and sure enough when you combine two UTF-8/ASCII A-z code points together as one UTF-16 code point, it will usually wind up in the CJK Common Ideographs range of Unicode. Some crappy software had evidently bypassed the appropriate Windows APIs and just directly wrote a C-style ASCII string onto the filesystem without realizing that NTFS is UTF-16.
[ Parent
| on HN ]
There are no comments on this comment yet.