Skip to main content

IBM1047_TO_UNICODE

Constant IBM1047_TO_UNICODE 

Source
pub const IBM1047_TO_UNICODE: [u16; 256];
Expand description

IBM1047 (EBCDIC Open Systems / z/OS Unix Services Latin-1) to Unicode.

CCSID 1047 differs from CCSID 37 (IBM037) in two groups: it shares the IBM500 punctuation rearrangement (7 bytes), plus it swaps the LF and NEL code points at bytes 0x15 and 0x25 — the famous “z/OS Unix Services LF convention” that makes EBCDIC text behave correctly with Unix line-handling code.

Reference: IBM CCSID 1047; Unicode Consortium mapping MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1047.TXT.