Retrieves the character encoding that the connector framework is using.
Syntax
public String getEncoding();
Parameters
None.
Return values
A String object containing the connector framework's character encoding.
Notes
The getEncoding() method retrieves the connector framework's character encoding, which is part of the locale. The locale specifies cultural conventions for data according to language, country (or territory), and a character encoding. The connector framework's character encoding should indicate the character encoding of the connector application. The connector framework's character encoding using the following hierarchy:
WebSphere InterChange Server |
---|
If a local configuration file exists, the setting of the CharacterEncoding connector configuration property in this local file takes precedence. If no local configuration file exists, the setting of the CharacterEncoding property is one from the set of connector configuration properties downloaded from the InterChange Server repository at connector startup. |
This method is useful when the connector needs to perform character-encoding processing, such as character conversion.
See also