Felipe Monteiro de Carvalho schrieb:
On Mon, Aug 15, 2011 at 6:41 PM, Hans-Peter Diettrich
<[email protected]> 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
String encodings should not play a role, when e.g. memory has to be
allocated or copied (see SetLength). The MaxLen parameter indicates the
number of physical units (bytes or words).
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel