6 ms·
Aside from the curly quotes, his "unicode canary" still only uses Latin-1 characters. Dumb. At least throw some latin-2 and/or Cyrillic/Greek in there.
by unconed 15y ago
Aside from the curly quotes, his "unicode canary" still only uses Latin-1 characters. Dumb. At least throw some latin-2 and/or Cyrillic/Greek in there.
- grok1fy 15y agoHere's a modified version with Cyrillic, Greek and Polish (ISO-8859-2) letters, along with a few more for good measure. ǏñҭëՐŋâťḯṏṋαłїżæŧíøṅ
- throw_away 15y agoa truly masochistic canary would include an old ASCII control character (x00-x32) some of which I don't believe encode properly into XML as either raw bytes or literal entities and also a character off the basic multilingual plane like say linear b
- deleted 15y ago[deleted]
- mcpherrinm 15y agoEven better: Include characters outside the Basic Multilingual Plane. That catches problems with UTF-16 that might exist along the way.
- pornel 15y agoEven trickier: And add combining characters. You can have more code points than characters, and letters-only string that contains codepoints that are not letters. Unicode is truly evil at the edges.