Method 13 for PC to TCP conversions
The method shown in Figure 65 has the following characteristics:
- It is used for conversion between an input PC CCSID and an output TCP CCSID
- The valid encoding schemes for input data are X'2100', X'3100', X'2200', X'2300', X'2305', X'3200', and X'3300'. The valid output encoding scheme is X'5404'
- Input is always expected in a normalized two-byte format
- The conversion table created will handle either single-byte or double-byte code points from the input CS, CP pair to a possible single-byte, double-byte or triple-byte output CS, CP, as determined by the TCP encoding scheme
- CS, CP pair priorities for the TCP CCSID
- Matched GCGID priority within a CS, CP pair
- Mismatch management criteria
- Space character management.
- Since many double-byte encodings do not use all available first-byte values as ward numbers, the conversion table will contain one record for each valid ward and one additional record for all invalid wards. Each record will contain 256 four-byte entries
- Invalid single-byte code points (X'00xx') will be mapped into the single-byte character SUB, at code point X'1A'. Invalid double-byte values will be mapped into the following:
- Japan - X'747E'
- Korea - X'2F7E'
- Traditional Chinese - X'7D7E'
- Simplified Chinese - X'2121'
- The high-order byte of each output code point value will contain the identifier 1 to 4 for graphics or 0 for a control character.
Figure 65. Method 13: PC to TCP Conversion