View Revisions: Issue #35444

Summary 0035444: Document widestring internal
Revision 2019-04-25 18:57 by Marco van de Voort
Description Real widestring (so on Windows) apparently has the length in the structure in bytes, rather than chars. Setlength and length() do work on words though. Even though it is an internal detail, it might be worthwhile to document or at least hint on this, since it is a Windows internal type, and one of the key reasons of widestring<>unicodestring (the other being using COM compatible allocation, that also could be mentioned in the docs)

Delphi's docs do too.

See also related report.
Revision 2019-04-25 18:23 by Marco van de Voort
Description Real widestring (so on Windows) apparently has the length in the structure in bytes, rather than chars. Setlength and length() do work on words though. Even though internal it might be worthwhile to document or at least hint on this, since it is a Windows internal type, and one of
the key reasons of widestring<>unicodestring (the other being using COM compatible allocation)

Delphi's docs do too, see related report.
Revision 2019-04-25 18:22 by Marco van de Voort
Description Real widestring (so on Windows) apparently has the length in the structure in bytes, rather than chars. Setlength and length() do work on words though. Even though internal it might be worthwhile to document or at least hint on this, since it is a Windows internal type.

Delphi's docs do too, see related report.
Revision 2019-04-25 18:22 by Marco van de Voort
Description Real widestring (so on Windows) apparently has the length in the structure in bytes, rather than chars. Setlength and length() do work on words though. It might be worthwhile to document or at least hint on this.

Delphi's docs do too, see related report.