News for hackers. Stuff that matters.
Re:Ladybird Browser July Update by 0xfffafaCrash on Saturday August 02, 2025 @11:38AM (#44768502)
not just UTF-16 but potentially malformed UTF-16 (supporting invalid surrogate pairs or surrogate halves and with js string functions computing things like lengths independenly of UTF-16 characters)

This is also widely known ad WTF-16 (seriously, look it up!)

Re:Ladybird Browser July Update by chrismorgan on Sunday August 03, 2025 @05:40AM (#44775359)
Most UTF-8-native stuff enforces well-formedness.

I have never in my entire life knowingly encountered a UTF-16-native system that enforced well-formedness.

In practice, UTF-16 means potentially-ill-formed UTF-16.