Tibems.SetEncoding


Method

Declaration

static void SetEncoding( 
    string encodingName ); 

Purpose

Set the global character encoding for messages.

Remarks

Programs can override the global encoding for individual messages. When neither a global nor an individual message encoding has been set, then EMS encodes the strings of an outbound message using the default UTF-8 encoding.

This encoding applies to all strings in message bodies (names and values), and properties (names and values). It does not apply to header names nor values. The methods BytesMessage.ReadUTF and BytesMessage.WriteUTF are exempt from global and individual encoding settings.

Parameter
Description
encodingName
Set this global encoding.
For a list of standard encoding names, see www.iana.org.

See Also

BytesMessage—Read

BytesMessage—Write

Tibems.GetEncoding

Tibems.GetMessageEncoding

Tibems.SetMessageEncoding


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com