[fpc-devel] strcopy, strlcopy for PWideChar

Marco van de Voort marcov at stack.nl
Tue Aug 16 08:49:42 CEST 2011

In our previous episode, Felipe Monteiro de Carvalho said:
> <DrDiettrich1 at 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 supports UTF-16 as a stringtype (afaik all routines route to
system routines that keep track of surrogates), but only provides 2-byte
array level access for []

More information about the fpc-devel mailing list