Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Return the name of the global string encoding for messages

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public static string GetEncoding()

    Public Shared Function GetEncoding As String

    public:
    static String^ GetEncoding()

#### Return Value

The name of the encoding used for global string encoding for message, or null global encoding has not been set.

# 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 or values. The methods BytesMessage.ReadUTF and BytesMessage.WriteUTF are exempt from global and individual encoding settings.

# See Also

Tibems Class
TIBCO.EMS Namespace