On Sun, 23 Nov 2014 17:42:06 +0100 (CET)
[email protected] (Marco van de Voort) wrote:

>[...]
> And the 2-byte unicode version exists, in unit uuchar.  (the "objpas" of
> $mode delphiunicode).  For now, simply make a utf8 wrapper that returns an
> utf8string.

At the moment uuchar ParamStr only contains a typecast:

    if (Param=0) then
      Paramstr:=System.Paramstr(0)
    else if (Param>0) and (Param<argc) then
      paramstr:=UnicodeString(Argv[Param])
    else
      paramstr:='';


Unit LazUTF8 contains a procedure SetupCommandlineParametersWide, that
uses GetCommandLineW and creates an ArgW array, similar to the
Argv array.
Should I adapt that for uuchar?

Mattias
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to