2 ms·
Also, you can litter your test data with all the fancy emoji you can type in a modern OS these days, those are almost always instantly recognizable when correct
by WorldMaker 10y ago
Also, you can litter your test data with all the fancy emoji you can type in a modern OS these days, those are almost always instantly recognizable when correct versus incorrect and test a fun number of things given:
1) Most (but not all) emoji exist way out in the Astral Plane (a good stress test for UTF-8/UTF-16 handling and little/big endian issues)
2) Emoji can contain "exotic" sequences like Zero Width Joiners (this can be very important to avoid codepoint counting issues because a ZWJ sequence of codepoints is a very different emoji if the codepoints are incorrectly reversed or spliced)
3) Emoji can test your font display stack for inefficiencies in system font fallback (and support for modern typography in general)