r/xkcd • I like my hat. • Apr 17 '15

XKCD xkcd 1513: Code Quality

http://xkcd.com/1513/
516 Upvotes

167 comments sorted by

View all comments

Show parent comment

2

u/whoopdedo Apr 17 '15

A symbol is not the thing the symbol represents. Or form is not function. In some type styles, lower-case L looks the same as the number 1. Should they be treated the same? (Trivia: some older typewriters omitted the 1 key.)

In this case the Cyrillic lower-case a capitalizes to a different glyph than the Latin a. If there were only one a codepoint it would be impossible to properly capitalize Cyrillic text. This is a problem for Armenian (or is it Georgian?) that has a dotless i which capitalizes to I. But Unicode screwed up and gave just a single upper-case Latin I. So when lower-casing it goes to i with a dot.

1

u/daxim Apr 27 '15

This is a problem for Armenian (or is it Georgian?)

No, Azerbaijani, Tatar and Turkish.

But Unicode screwed up and gave just a single upper-case Latin I.

This is incorrect, see UTR#21 (originally published 1999).