getUtf8bodyAsString

getUtf8bodyAsString(): String;

The getUtf8bodyAsString method of the JadeGenericMessage class converts the UTF‑8 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 UTF‑8 string or it contains Unicode characters that cannot be represented in an ANSI environment.