Re:How To Use UTF-8 Throughout Your Web Stack
by unconed on Friday August 19, 2011 @06:26PM
(#2905116)
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.
[ Parent
| on HN ]
Re:How To Use UTF-8 Throughout Your Web Stack
by grok1fy on Friday August 19, 2011 @08:06PM
(#2905358)
Here's a modified version with Cyrillic, Greek and Polish (ISO-8859-2) letters, along with a few more for good measure.
ǏñҭëՐŋâťḯṏṋαłїżæŧíøṅ
Re:How To Use UTF-8 Throughout Your Web Stack
by throw_away on Friday August 19, 2011 @09:15PM
(#2905457)
a 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
Re:How To Use UTF-8 Throughout Your Web Stack
by mcpherrinm on Friday August 19, 2011 @09:12PM
(#2905455)
Even better: Include characters outside the Basic Multilingual Plane. That catches problems with UTF-16 that might exist along the way.
Re:How To Use UTF-8 Throughout Your Web Stack
by pornel on Saturday August 20, 2011 @07:15PM
(#2908006)
Even 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.