2.7 Character-set mapping file (charsetMapping_user.properties)
This is the definition file for setting the character set for the JP1/AO server based on the character set information acquired from the operation target device.
When using a general command plug-in, file transfer plug-in, or content plug-in, if characters become corrupted, specify the character set mapping file (charsetMapping_user.properties) to avoid the problem.
If characters don't become corrupted, there is no need to specify the file.
Format
specification-key-name=setting
Installation folder
- For non-cluster systems:
JP1/AO-installation-folder\conf\plugin or /opt/jp1ao/conf/plugin
- For cluster systems:
shared-folder-name\jp1ao\conf\plugin or shared-folder-name/jp1ao/conf/plugin
Trigger for applying definitions
Restarting JP1/AO
Description
One specification key and setting can be specified per line. For the specification key name, the value of the /usr/bin/locale charmap command returned from the operation target device must be specified as is. If the returned value contains a double-quotation mark ("), add the double-quotation mark to the specified value. For setting, specify the character set that corresponds to the specification key name.
You can specify the following character sets:
EUC-JP
eucjp
ibm-943C
ISO-8859-1
MS932
PCK
Shift_JIS
UTF-8
windows-31j
Note the following points when coding the character-set mapping file.
Lines that begin with # are treated as comments.
Blank lines are ignored.
The encoding is ISO 8859-1.
The entries are case sensitive.
To specify a backslash (\) in a character string, two backslashes (\\) must be entered.
In this case, assume two backslashes as one byte to calculate the size.
If the same specification key is entered multiple times in a file, the last one that is specified will take effect.
If an invalid value is specified in the character-set mapping file, an execution error occurs in the plug-in that references the character-set mapping file.
Example definitions
"utf8.cm" = UTF-8 "iso88591.cm" = ISO-8859-1 "SJIS.cm" = Shift_JIS "eucJP.cm" = EUC-JP