Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It gets worse for UTF-16, Windows will let you name files using unpaired surrogates, now you have a filename that exists on your disk that cannot be represented in UTF-8 (nor compliant UTF-16 for that matter). Because of that, there's yet another encoding called WTF-8 that can represent the arbitrary invalid 16-bit values.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: