logoalt Hacker News

Dwedittoday at 2:47 PM0 repliesview on HN

Meanwhile, Windows uses UTF-16 everywhere internally, so "a" and "あ" are both 2 bytes large. You'd still have to exclude surrogate pairs and the Unicode control characters from a filename.