Hacker News new | ask | show | jobs
by chrismorgan 81 days ago
Not much is actually UCS-2; almost all things like that are rather unvalidated UTF-16, also known as sequences of UTF-16 code units.
1 comments

That's correct. Windows does decode surrogate pairs whenever filenames are displayed so its no longer UCS-2.