WebLogic Messaging API Class Library |

# IBytesMessage.WriteUTF Method

Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.

For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC 10646, Annex P.

void WriteUTF(
String value
);

#### Parameters

String
  the `String` value to be written

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to write the message due to some internal error.
MessageNotWriteableException | if the message is in read-only mode.

#### See Also

IBytesMessage Interface | WebLogic.Messaging Namespace