News for hackers. Stuff that matters.
Re:Why can't you reverse a string with a flag emoji? by jonas21 on Thursday January 27, 2022 @07:30PM (#30109123)
This work wasn't done for emoji. They use the same zero-width joiner character [1] that exists to support Indic scripts like Devanagari, and any system that properly handles these languages will also properly handle the emoji.

Yes, this adds a lot of complexity, but it's really a question of whether that complexity is justified in order to support all of the world's languages. And I think many would argue that it is.

[1] https://en.wikipedia.org/wiki/Zero-width_joiner

Re:Why can't you reverse a string with a flag emoji? by jahewson on Friday January 28, 2022 @02:29AM (#30111673)
Emoji has turned out to be a great way to enhance complex script support in much real-world software and they get my full support for that reason too.