DMD 1.019 and 2.003 releases

renoX renosky at free.fr
Tue Jul 24 22:23:14 PDT 2007


Bill Baxter a écrit :
> James Dennett wrote:
>> BCS wrote:
>>> Reply to James,
>>>
>>>> Walter's version works on any platform where upper and lower case
>>>> letters have the same arrangement, including any gaps; yours is pretty
>>>> much tied to ASCII and extensions thereof.
>>>>
>>> good point, OTOH how often are non ASCII derived systems used (I've
>>> heard of a few but never run into any)
>>
>> With D, at present, probably none.  Some mainframes and
>> some embedded environments are the only remaining ones
>> I know about (though my knowledge is, of course, a long
>> long way from being encyclopedic.)
> 
> But both simple schemes for lowercasing will fail on things like 
> accented characters.  Seeing tricks like that just to avoid calling 
> tolower() makes me cringe.
> 
> --bb

True, it only work for real ASCII which has no accentuated characters.

renoX



More information about the Digitalmars-d-announce mailing list