Support for Unicode and non-Unicode characters
The probe can process multibyte characters and so can display both Unicode and non-Unicode characters.
Unicode characters
Use the following procedure to set up the probe to process characters in Unicode UTF-8 format:
- Ensure that the SNMP endpoint is configured to send traps in UTF-8 format.
- Set the required locale on the system that
runs the probe:
Table 1. Setting the locale for Unicode UTF-8 characters Operating system Procedure to set the locale Linux and Unix
Set the locale by changing the values of the LANG and LC_ALL environment variables. For example, to set the locale to simplified Chinese, use the following commands:
export LANG=zh_CN.UTF-8 export LC_ALL=zh_CN.UTF-8
Windows
- Open the Control Panel and double click on Regional and Language.
- On the Formats tab, select the language from the list in Format.
- On the Administrative tab, click Change system locale.
- Select the language from the list in Current System Locale.
- Click OK.
- Click OK.
- Configure the ObjectServer to enable the insertion of data that uses UTF-8 format. The IBM Tivoli Netcool/OMNIbus Installation and Deployment Guide shows how to create, configure, and run an ObjectServer in UTF-8 mode.
- Start or,
if it is already running, restart the probe.
When running the probe on a Windows system, always specify the -utf8enabled command line option.
Other multi-byte character sets
In addition to characters encoded in Unicode UTF-8 format, the probe can process other multi-byte character sets such as GB, Big5 or Shift-JIS. Use the following procedure to process characters in such character sets:
- Ensure that the SNMP endpoint is configured to send traps in the required format.
- Set the locale on system that runs
the probe:
Table 2. Setting the locale for other multi-byte character sets Operating system Procedure to set the locale Linux and Unix
Set the locale by setting the LANG environment variable to
C
environment variables. For example:export LANG=C
Windows
Follow the instructions in Table 1
- Configure the ObjectServer to process the required character set. The IBM Tivoli Netcool/OMNIbus Installation and Deployment Guide shows how to create, configure, and run an ObjectServer.
- Start or, if it is already
running, restart the probe.
When running the probe on a Windows system, do not use the -utf8enabled command line option.