Hacker News new | ask | show | jobs
by cowboylowrez 53 days ago
unicode names spit
1 comments

if I want to name my file <turd emoji>.txt I damn well will
Any fule no that a file name is just an array of bytes (excluding the null byte and the slash). You can create a file with a name that is an invalid UTF-8 encoding. It's fun to see how much software chokes on that!