HULFT-27881
When unable to access the custom character conversion file, code conversion cannot be executed successfully
- Phenomenon
-
When code conversion is executed on the receiving side, if the custom character conversion file cannot be accessed, the phenomena described below may occur.
Phenomenon 1
When use of a custom character table is set, if the custom character conversion file that is used in receiving-side code conversion cannot be accessed, ordinarily code conversion switches to sending-side conversion.
Example: The input code is UTF-8 and the output code is Shift-JIS for receiving-side conversion, and the custom character conversion file "gt8tos.xtd" cannot be accessed
However, in the above case, code conversion is not switched to sending-side conversion, and an error occurs in the transfer.
Phenomenon 2
When use of a custom character table is set, even if the custom character conversion file for the opposite direction of conversion as receiving-side conversion cannot be accessed, ordinarily code conversion is still performed as receiving-side conversion.
Example: The input code is UTF-8 and the output code is Shift-JIS for receiving-side conversion, and the custom character conversion file for the opposite direction of conversion, "gtsto8.xtd", cannot be accessed
However, in the above case, code conversion switches to sending-side conversion.
- Severity level
-
D: low
- Affected versions
-
From Ver.8.4.0 to Ver.10.2.0A
- Modified version
-
Ver.10.2.1
- Condition to reproduce
-
Phenomenon 1 occurs when file transfer is executed while all the following conditions are met:
Sending-side host
-
The sending-side host is HULFT Ver.8.4.0 or higher
-
One of the following is specified for Transfer Type in the Send Management Information:
-
Text
-
Format
-
Multi format
-
-
"Receiving side" is specified for Code Conversion in the Send Management Information
-
"No" is specified for Use HULFT7 Comm. Mode of the receiving-side host in the Host Information
Receiving-side host (local host)
-
Either of the following is specified for Use Custom Character Table (gaijifile) in the System Environment Settings:
-
1 (Convert custom character codes to relevant codes by referring to the custom character table)
-
2 (Convert to relevant codes by referring to the custom character table first)
-
-
The custom character conversion file for the combination below is inaccessible:
-
Input code
The code set specified for Code Set for Transfer (KCODETYPE) of the sending-side host that is registered in the Host Information
-
Output code
The code set specified for Code Set for Transfer (cs4trnsfr) in the System Environment Settings
Example: If the input code is UTF-8 and the output code is Shift-JIS, the custom character conversion file gt8tos.xtd cannot be accessed
-
Phenomenon 2 occurs when file transfer is executed while all the following conditions are met:
Sending-side host
-
The sending-side host is HULFT Ver.8.4.0 or higher
-
One of the following is specified for Transfer Type in the Send Management Information:
-
Text
-
Format
-
Multi format
-
-
"Receiving side" is specified for Code Conversion in the Send Management Information
-
"No" is specified for Use HULFT7 Comm. Mode of the receiving-side host in the Host Information
Receiving-side host (local host)
-
Either of the following is specified for Use Custom Character Table (gaijifile) in the System Environment Settings:
-
1 (Convert custom character codes to relevant codes by referring to the custom character table)
-
2 (Convert to relevant codes by referring to the custom character table first)
-
-
The custom character conversion file for the combination below, which is the opposite direction of the code conversion, is inaccessible
-
Input code
The code set specified for Code Set for Transfer (cs4trnsfr) in the System Environment Settings
-
Output code
The code set specified for Code Set for Transfer (KCODETYPE) of the sending-side host that is registered in the Host Information
Example: If the input code is Shift-JIS and the output code is UTF-8, the custom character conversion file gtsto8.xtd cannot be accessed
-
-
- Alternative workaround
-
None
- Status description
-
If the above conditions are met, operation proceeds as follows:
-
In the case of Phenomenon 1
Code conversion switches to sending-side conversion.
-
In the case of Phenomenon 2
Code conversion is performed as receiving-side conversion.
-