Unicode Conversion (Conversion from Unicode) command
Format of command
utlchgunicode -infile filename -outfile filename [-r] [-o] {-s [-co[-d][-dc defaultchar]]}
Explanation of the parameters
- -infile filename
-
Specify the conversion source file name (Mandatory)
Specify the conversion source file name with a full path within 256 bytes.
- -outfile filename
-
Specify the conversion destination file name (Mandatory)
Specify the conversion destination file name with a full path within 256 bytes.
- -r
-
Specify whether to overwrite the file (Optional)
If the specified conversion destination file already exists, HULFT overwrites it. If omitted, a new file is created. If a file with the same name already exists, HULFT returns an error.
- -o
-
Specify whether to use the OEM code page (Optional)
If specified, HULFT uses the OEM code page.
- -s
-
Specify the conversion from Unicode to SHIFT-JIS (Mandatory)
Specify this parameter to convert the file from SHIFT-JIS to Unicode.
- -co
-
Specify whether to carry out conversion to pre-composed characters (Optional)
This parameter converts a composite character to a pre-composed character.
- -d
-
Specify for HULFT to ignore nonspacing characters (Optional)
This parameter specifies for HULFT to ignore non-spacing characters which follow after base characters without a non-spacing character at the time of conversion to SHIFT-JIS.
- -dc defaultchar
-
Specify the default character (Optional)
This parameter specifies a substitute character for a character that cannot be converted during conversion from Unicode to SHIFT-JIS.