Tibems.GetEncoding


Method

Declaration

static string GetEncoding(); 

Purpose

Return the global character encoding for messages.

Remarks

If the global encoding has not been set, this method returns null.

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.

See Also

BytesMessage—Read

BytesMessage—Write

Tibems.SetEncoding

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