4 ms·
> Don't try to validate it in any sort of encoding That works fine until it becomes literally impossible when your language/library/framework forces you into p
by dataflow 3y ago
> Don't try to validate it in any sort of encoding
That works fine until it becomes literally impossible when your language/library/framework forces you into picking an encoding.
Even Microsoft's own APIs that add "UTF-8 support" choke when they encounter file names with invalid UTF-16 sequences.