Turkish 'I's can't D either

Stewart Gordon smjg_1998 at yahoo.com
Fri Sep 4 19:15:26 PDT 2009


Walter Bright wrote:
> I think it's great that you're doing a Turkish programming tutorial! I 
> can't help you, though, with details of the Turkish language because I 
> have no idea how it works.
<snip>

It's quite simple actually.

I is the uppercase form of ı.
İ is the uppercase form of i.

http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
lists them as
0049;LATIN CAPITAL LETTER I;Lu;0;L;;;;;N;;;;0069;
0069;LATIN SMALL LETTER I;Ll;0;L;;;;;N;;;0049;;0049
0130;LATIN CAPITAL LETTER I WITH DOT ABOVE;Lu;0;L;0049 0307;;;;N;LATIN 
CAPITAL LETTER I DOT;;;0069;
0131;LATIN SMALL LETTER DOTLESS I;Ll;0;L;;;;;N;;;0049;;0049

but this is inadequate: while it tells you how to case-convert ı and İ 
(that's what the 0049 and 0069 at the end are), you need to add a 
locale-specific rule to all this to convert I and i in Turkish.

Stewart.



More information about the Digitalmars-d mailing list