← Back to context

Comment by Valgrim

4 years ago

It corrupted text or "Zalgo" text, it relies on diacritics.

See this answer on stackoverflow:

https://stackoverflow.com/questions/1732348/regex-match-open...

I disagree with calling it "corrupted." We're not tricking the browser into trying to render garbage bytes that are actually the middle of a jpeg or something. It's actually valid Unicode. It's an edge-case which is not seen in regular usage, but it's technically following all of the rules.