Consultor Eletrônico



Kbase P18003: SonicMQ TextMessage on the wire: Unicode or UTF-8
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

GOAL:

TextMessage on the wire: Unicode or UTF-8

FACT(s) (Environment):

SonicMQ 4.x

FIX:

For TextMessages, the size is computed as using UTF encoding.
For more on UTF encoding in Java, see the Javadoc for the writeUTF()
method in the java.io.DataOutput class. "

This is the method for converting a String into Java modified UTF-8
format and writing the resulting bytes to the output stream ( according to the API documentation for the Interface java.io.DataOutput ).