[fpc-devel] using strupper,strlower on german words

Hans-Jörg Vasold hansjoerg at vasold.de
Mon Jun 6 08:01:56 CEST 2005


----- Original Message ----- 
From: "Florian Klaempfl" <F.Klaempfl at gmx.de>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Sunday, June 05, 2005 4:23 PM
Subject: Re: [fpc-devel] using strupper,strlower on german words


> Hans-Jörg Vasold wrote:
>
>>
>> ----- Original Message ----- From: "Florian Klaempfl" <F.Klaempfl at gmx.de>
>> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
>> Sent: Sunday, June 05, 2005 3:59 PM
>> Subject: Re: [fpc-devel] using strupper,strlower on german words
>>
>>
>>> Hans-Jörg Vasold wrote:
>>>
>>>> StrUpper, StrLower will not work for the german "äöüß".
>>>>
>>>> Are any equivalent functions like Delphi's AnsiUpperCase or any fix
>>>
>>>
>>> AnsiUpperCase?
>
> AnsiStrUpper
> The AnsiStr* functions operate on pchars.
>
> http://www.freepascal.org/docs-html/rtl/sysutils/ansistrupper.html

Yes but

  // Tested in Lazarus

 Edit1.Text := AnsiStrUpper ( 'Ärzte' )

results in 'äRZTE'

Edit1.Text := AnsiStrUpper ('ärzte')

results also in 'äRZTE';

cu Hans-Joerg 





More information about the fpc-devel mailing list