DMD 1.019 and 2.003 releases
Bill Baxter
dnewsgroup at billbaxter.com
Tue Jul 24 12:58:25 PDT 2007
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
More information about the Digitalmars-d-announce
mailing list