News for hackers. Stuff that matters.
Re:Unicode is harder than you think by night-rider on Tuesday July 25, 2023 @03:40PM (#36868202)
It's not that it's hard, it's just people don't go out of their way to escape UTF-8 glyphs into ASCII when dealing with exotic glyphs in a text editor. It's more mundane and tedious, but not 'hard'.

Try working with raw UTF-8 in JS and find yourself in a world of pain. Mathias Bynens talks about these gotchas here:

https://mathiasbynens.be/notes/javascript-unicode

Re:Unicode is harder than you think by JohnFen on Tuesday July 25, 2023 @04:21PM (#36868785)
"Hard" is a bit context-dependent. Instead of thinking of it as "hard", I think of it as a real pain in the ass full of footguns.