getEncoding()

Retrieves the character encoding that the connector framework is using.

Syntax

char * getEncoding();
  

Parameters

None.

Return values

A string containing the connector framework's character encoding.

Notes

The getEncoding() method retrieves the connector framework's locale, which defines 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 locale is set using the following hierarchy:

This method is useful when the connector needs to perform character-encoding processing, such as character conversion.

See also

getLocale()(in this class), getLocale() (in the BusinessObject class)

Copyright IBM Corp. 1997, 2003