jConnect uses special classes for all character-set conversions. By selecting a character-set converter class, you specify how jConnect handles single-byte and multibyte character-set conversions, and what performance impact the conversions have on your applications.
There are two character-set conversion classes. The conversion class that jConnect uses is based on the JCONNECT_VERSION, CHARSET, and CHARSET_CONVERTER_CLASS connection properties.
The TruncationConverter class works only with single-byte character sets that use ASCII characters such as iso_1 and cp850. It does not work with multibyte character sets or single-byte character sets that use non-ASCII characters. The TruncationConverter class is the default converter when JCONNECT_VERSION is set to 2.
Using the TruncationConverter class, jConnect 7 handles character sets in the same manner as jConnect version 2.2. The TruncationConverter class is the default converter when the JCONNECT_VERSION = 2.
The PureConverter class is a pure Java, multibyte character-set converter. jConnect uses this class if the JCONNECT_VERSION = 4 or later. jConnect also uses this converter when JCONNECT_VERSION = 2 if it detects a character set specified in the CHARSET connection property that is not compatible with the TruncationConverter class.
Although it enables multibyte character-set conversions, the PureConverter class may negatively impact jConnect driver performance. If driver performance is a concern, see “Improving character-set conversion performance”.