[fpc-devel] using strupper,strlower on german words
Michael Van Canneyt
michael at freepascal.org
Sun Jun 5 17:16:41 CEST 2005
On Sun, 5 Jun 2005, Florian Klaempfl wrote:
> 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
>
> For Michael vC: the remark is wrong/outdated, if you include cwstrings,
> language settings on linux are taken care of.
This is not so, because the cwstrings is for WideStrings only, and the
AnsUpperCase is AnsiString. We'd need a separate unit to load the
conversion tables for ansistrings.
Michael.
More information about the fpc-devel
mailing list