Turkish 'I's can't D either

2009-08-24 Thread Ali Cehreli
You may be aware of the problems related to the consistency of the two separate letter 'I's in the Turkish alphabet (and the alphabets that are based on the Turkish alphabet). Lowercase and uppercase versions of the two are consistent in whether they have a dot or not: http://en.wikipedia.or

Re: Turkish 'I's can't D either

2009-08-24 Thread Rainer Deyke
Ali Cehreli wrote: > Is option d possible with today's systems? Whose resposibility is > this anyway? OS? Language? Program? Something else? This appears to be a library issue to me. If Phobos can't do this properly, your options are basically: 1. Find a third party library solution. 2. Write

Re: Turkish 'I's can't D either

2009-08-24 Thread Walter Bright
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. The only thing I can suggest is using a setlocale for Turkish is the wrong way, as Unicode was supposed to get away from that

Re: Turkish 'I's can't D either

2009-08-25 Thread Ali Cehreli
Rainer Deyke Wrote: > This appears to be a library issue to me. I started to see this at a more fundamental level. The Unicode letter I (dotless capital i) has two possible lowercases and letter i has two possible uppercases. The chain of some historical events appears to have produced a cripp

Re: Turkish 'I's can't D either

2009-08-25 Thread Ali Cehreli
Walter Bright Wrote: > with details of the Turkish language because I > have no idea how it works. It is a very interesting story. The Turkish 'i's have caused lots of trouble, even hardcoded conditionals in at least the early Java libraries that checked whether the locale was Turkish. Even t

Re: Turkish 'I's can't D either

2009-08-25 Thread Rainer Deyke
Ali Cehreli wrote: > Rainer Deyke Wrote: > >> This appears to be a library issue to me. > > I started to see this at a more fundamental level. The Unicode letter > I (dotless capital i) has two possible lowercases According to ICU, Lithuanian sometimes uses a third. > and letter i has > two pos

Re: Turkish 'I's can't D either

2009-08-25 Thread Daniel Keep
Ali Cehreli wrote: > Walter Bright Wrote: > >> with details of the Turkish language because I >> have no idea how it works. > > It is a very interesting story. The Turkish 'i's have caused lots of trouble, > even hardcoded conditionals in at least the early Java libraries that checked > wheth

Re: Turkish 'I's can't D either

2009-08-25 Thread Michel Fortin
On 2009-08-25 00:23:25 -0400, Ali Cehreli said: You may be aware of the problems related to the consistency of the two separate letter 'I's in the Turkish alphabet (and the alphabets that are based on the Turkish alphabet). Lowercase and uppercase versions of the two are consistent in whethe

Re: Turkish 'I's can't D either

2009-08-25 Thread Daniel Keep
Michel Fortin wrote: > ... > > What I'd like to see is an a base class representing a locale. Then you > can instanciate the locale you want (from a config file, by coding it > directly, having bindings to system APIs, or a mix of all this) and use > the locale. Something like: > > class Lo

Re: Turkish 'I's can't D either

2009-08-25 Thread Michel Fortin
On 2009-08-25 08:04:44 -0400, Daniel Keep said: You're assuming it's possible and practical to write every method that is locale-dependant at once in a single class. No, only the base methods. You can build on them to create other things. With a compare method you can do sorting according to

Re: Turkish 'I's can't D either

2009-08-25 Thread Frank Benoit
Rainer Deyke schrieb: > I know ICU can use different case mappings for different locales, but I > don't think it has D bindings. > > There are existing ICU bindings in the mango project, see dsource.org

Re: Turkish 'I's can't D either

2009-09-03 Thread Ameer Armaly
"Daniel Keep" wrote in message news:h70aup$cj...@digitalmars.com... > >One thing I think the typesystem should be used more for is attaching > more semantic information to data. So maybe the solution is to > introduce something like a Text type that also stores the language of > the text. Then

Re: Turkish 'I's can't D either

2009-09-04 Thread Stewart Gordon
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. It's quite simple actually. I is the uppercase form of ı. İ is the uppercase form of i. http://www.un

Re: Turkish 'I's can't D either

2009-09-05 Thread Ali Cehreli
Stewart Gordon Wrote: > 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;N0069; > 0069;LATIN SMALL LETTER I;Ll;0;L;N;;;0049;;0049 > 0130;LATIN CAPITAL LETTER I