appendStringAsUtf8

appendStringAsUtf8(data: String);

The appendStringAsUtf8 method of the JadeGenericMessage class encodes the content of the string in the data property as a UTF8 string that is added to the end of the message body.

In an ANSI environment, the currentLocale property of the application determines the code page that is used to encode characters with decimal values 128 through 255.

A message can be constructed by calling the appendStringAsUtf8 method a number of times. You can call the appendStringAsUtf8 method before or after calling the appendBinary, appendString, and appendStringUtf8 methods or directly assigning a value to the body property. If you call the appendStringAsUtf8 method before or after calling the appendBodyTuple method, an exception is raised.