[fpc-devel] strcopy, strlcopy for PWideChar

Michael Van Canneyt michael at freepascal.org
Mon Aug 15 14:15:07 CEST 2011

On Mon, 15 Aug 2011, LacaK wrote:

> Hi,
> it seems, that there is ATM no versions of StrCopy, StrLCopy, which works 
> with WideChars (in SysUtils).
> Can these variants be added ?
> function StrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;
> http://docwiki.embarcadero.com/VCL/en/SysUtils.StrCopy
> function StrLCopy(Dest: PWideChar; const Source: PWideChar; MaxLen: 
> Cardinal): PWideChar;
> http://docwiki.embarcadero.com/VCL/en/SysUtils.StrLCopy
> etc.
> Or do you not like these "wide" versions at all ?

It's not a matter of liking, I'm afraid. 
If Delphi has them, we'll have to add them too :-)

Can you please add an entry in the bug tracker, so we don't forget ?


More information about the fpc-devel mailing list