Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-23 Thread LacaK
Florian Klämpfl wrote / napísal(a): Am 16.08.2011 07:06, schrieb LacaK: Hans-Peter Diettrich wrote / napísal(a): LacaK schrieb: 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

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-16 Thread Marco van de Voort
In our previous episode, Felipe Monteiro de Carvalho said: drdiettri...@aol.com wrote: The mix (or equivalence) of character and byte counts obviously is inappropriate for wide versions. Perhaps sizeof should read Length? Maybe Delphi supports only UCS-2 and not UTF-16 Delphi afaik

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 07:06, schrieb LacaK: Hans-Peter Diettrich wrote / napísal(a): LacaK schrieb: 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

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-16 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Mon, Aug 15, 2011 at 6:41 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: The mix (or equivalence) of character and byte counts obviously is inappropriate for wide versions. Perhaps sizeof should read Length? Maybe Delphi supports only UCS-2 and

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread Michael Van Canneyt
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;

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread LacaK
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;

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread Michael Van Canneyt
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;

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread Hans-Peter Diettrich
LacaK schrieb: 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

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread LacaK
Hans-Peter Diettrich wrote / napísal(a): LacaK schrieb: 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 ?