Re:What developers should know about Unicode and character s...
by avian on Wednesday November 06, 2013 @12:40PM
(#6683957)
This is not as strange as it might look at the first glance.
A lot of ordinary characters can be represented as two (or more) Unicode code points - for instance an unaccented Latin letter and a combining accent.
Flags emoji seem more like a hack on the side of the font or text renderer. If you look at the Unicode representation it actually spells out the ISO country code. Some fonts probably define a ligature containing these two characters that looks like a flag instead of two separate Latin characters.
Representation of digits inside keycaps also makes sense to me: it's a normal digit eight (dating back to ASCII) plus a combining character that looks like a keycap.
Re:What developers should know about Unicode and character s...
by tuukkah on Wednesday November 06, 2013 @11:07AM
(#6683355)
Are these handled in the font as ligatures?
http://apps.timwhitlock.info/emoji/tables/unicode
Look for flags and numbers. Here's German flag in ASCII: \xF0\x9F\x87\xA9\xF0\x9F\x87\xAA 8 bytes, 2 unicode symbols, 4 UTF-16 symbols.