4.4.1 Setting the LANG environment variable

The following table shows a LANG environment variable that can be used on PFM - Agent for Platform.

Before setting LANG environment variables, you must check that the language environment to be set is correctly installed and configured. If it is not correctly installed and configured, characters may be garbled or definition data may be rewritten inappropriately.

Note:
The language of the common message log is determined by the value set in the LANG environment variable at the time of service startup or command execution. This may result in character strings in multiple language encodings, such as Japanese and English.

Table 4-2 LANG environment variable used on PFM - Agent for Platform

OSLanguage typeLANG environment variable value
HP-UXJapaneseShift-JIS encoding
  • ja_JP.SJIS
  • japanese
EUC encoding
  • ja_JP.eucJP
  • japanese.euc
English (no Japanese)C
Chinese(Simplified Chinese)GB18030zh_CN.gb18030
UTF-8 encodingzh_CN.utf8
SolarisJapaneseShift-JIS encodingja_JP.PCK
EUC encoding
  • ja
  • japanese
English (no Japanese)C
Chinese(Simplified Chinese)GB18030
  • zh_CN.GB18030
  • zh_CN.GB18030@pinyin
  • zh_CN.GB18030@radical
  • zh_CN.GB18030@stroke
UTF-8 encoding
  • zh.UTF-8
  • zh_CN.UTF-8
  • zh_CN.UTF-8@pinyin
  • zh_CN.UTF-8@radical
  • zh_CN.UTF-8@stroke
AIXJapaneseShift-JIS encoding
  • Ja_JP.IBM-932
  • Ja_JP
EUC encoding
  • ja_JP.IBM-eucJP (not supported by PFM - Manager)
  • ja_JP
English (no Japanese)C
Chinese(Simplified Chinese)GB18030
  • Zh_CN
  • Zh_CN.GB18030
UTF-8 encoding
  • ZH_CN
  • ZH_CN.UTF-8
LinuxJapaneseUTF-8 encoding
  • ja_JP.UTF-8
  • ja_JP.utf8
English (no Japanese)C
Chinese(Simplified Chinese)GB18030zh_CN.gb18030
UTF-8 encoding
  • zh_CN.utf8
  • zh_CN.UTF-8
Legend:
--: Not applicable