[fpc-devel] strcopy, strlcopy for PWideChar

Michael Van Canneyt michael at freepascal.org
Mon Aug 15 17:10:50 CEST 2011



On Mon, 15 Aug 2011, LacaK wrote:

> Michael Van Canneyt  wrote / napĂ­sal(a):
>> 
>> 
>> 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 ?
>> 
> http://bugs.freepascal.org/view.php?id=19989
> Do you think, that it is realistic expect them in 1-2 months ?

Not unless someone donates a patch.

Michael.


More information about the fpc-devel mailing list