Method 11 for Host to EUC conversions
The method shown in Figure 63 has the following characteristics:
- It is used for conversion between an input Host CCSID and an output EUC CCSID.
- The valid encoding schemes for input data are X'1100', X'1200', and X'1301'. The valid output encoding scheme is X'4403'.
- 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 EUC encoding scheme.
- CS, CP pair priorities for the EUC 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 G0 set character SUB, at code point X'1A'. Invalid double-byte values will be mapped into the double-byte G1 set as a SUB.
- Host double-byte control characters will be mapped to the single-byte control characters after denormalization.
Figure 63. Method 11: Host to EUC Conversion