[fpc-devel] UTF8 RTL
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Nov 18 17:25:36 CET 2014
On Tue, 18 Nov 2014 17:05:49 +0100 (CET)
marcov at stack.nl (Marco van de Voort) wrote:
> In our previous episode, Mattias Gaertner said:
> > Hi and much kudos for those who made the UTF8 RTL.
> >
> > GetCurrentDir, FindFirst, FileExist, TStringList, etc. all work well. :)
> >
> > ParamStr is not yet converted and only supports system codepage. I
> > would like to help improving it.
> >
> > Has someone already started it?
>
> In {$mode delphiunicode} it returns unicodestring.
A UnicodeString function would be sufficient.
But it seems this uses the argv PChar in system codepage.
Paramstr:=UnicodeString(Argv[Param])
It needs a unicode version of Argv.
For example a function like GetCommandLineW could be used to create a
ArgvW. Is this the right approach?
Mattias
More information about the fpc-devel
mailing list