On Mon, Aug 15, 2011 at 6:41 PM, Hans-Peter Diettrich <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 -- Felipe Monteiro de Carvalho