Re:Charset="WTF-8"
by bawolff on Sunday November 24, 2024 @05:35PM
(#42231221)
Its really not that hard though. PCRE regex support unicode letter classes. There is really no excuse for this type of issue.
[ Parent
| on HN ]
Re:Charset="WTF-8"
by cryptonector on Sunday November 24, 2024 @06:25PM
(#42231530)
`..*` should be a good validation regexp. At that point you might as well check only that length is non-zero and the the name is valid Unicode and nothing more. Well, ok, maybe look at UTR-#36 and maybe disallow / filter out non-printing characters, PUCs, and what not.