getUtf8bodyAsString

getUtf8bodyAsString(): String;

The getUtf8bodyAsString method of the JadeGenericMessage class converts the UTF8 encoded text in the message body to a standard JADE string, which is then returned.

An exception is raised if the body is not a valid UTF8 string or it contains Unicode characters that cannot be represented in an ANSI environment.