This is a string containing text characters. Text is encoded in the UTF-2 format, which specified 2 bytes for each character. This is the COM compatible string format. All programming languages should have a string format that is compatible with this.
Internally, this data type is represented by a Delphi WideString data type, which stores a reference count for memory management purposes, as well as a length. The length of a WideString is limited to 2147483648 characters. There is typically no "null" terminator at the end of a string like there is in C-based strings. Thus, this string can contain any data.
The UTF-2 encoding provides some level of international language support in all zApp programs.
While some scripting languages may allow you to access this string as an array of values, this is discouraged since it makes non-English language support difficult. Always try to use the built-in string function library for manipulating these data types in a language independant fashion. |