Character sets are identifiers that describe a series of universal characters. The following adapters can use a
<character-set> element in the adapter configuration or in a dynamic target definition in the adapter request:
- JMS actor and monitor
- Command Line
- Windows Command
- SQL actor and monitor
- Web Services
The following figure shows an XML sample using the character-set element in an adapter configuration.
XML sample of the the character-set element in an adapter configuration
<config> <character-set>Shift_JIS</character-set> </config>
The following table lists the default values for the
<character-set> element for base adapters:
Default values for the
<character-set> element for base adapters
All terminal adapters
Default character set of the system on which the adapter is enabled
Dependent on the underlying JDBC driver used
The character set that you specify while configuring an adapter or in an adapter request depends on the target. The target can be the computer on which the peer is running, or the remote computer in an adapter request, or a combination of the computer hosting the server and the server itself.
For detailed information about character encoding, see http://en.wikipedia.org/wiki/Character_encoding.
System settings for changing the character set
You can use the following methods to set or find the language, locale, and the character set of a computer based on which operating system is installed on that computer:
- On a windows-based computer: Execute the
chcpcommand. For Windows 2003 and Windows XP, you can also use the user interface to find or set the character set:
- Click Start > Control Panel.
- Double-click Regional and Language Options.
- Click the Regional Options tab, select a regional standard (for example, Chinese PRC), and then click Apply.
- Click the Advanced tab and select the same regional standard (for example, Chinese PRC) that you selected in step 3.
- Select the check box under Default user account settings.
- Click Apply, and then click OK.
- Restart your computer.
- On a Linux-based computer: Execute the
set | grep LANGcommand.
For detailed information about setting the character set on a particular operating system, see the documentation for that operating system.