Skip to main content

IBM1140_TO_UNICODE

Constant IBM1140_TO_UNICODE 

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

IBM1140 (EBCDIC US/Canada Latin with Euro update) to Unicode mapping.

CCSID 1140 is CCSID 37 (IBM037) with one byte position updated to carry the Euro sign — adopted around 2000 when the EU adopted the euro. The change is at byte 0x9F: U+00A4 (currency symbol ¤) → U+20AC (€).

Reference: IBM CCSID 1140; Unicode Consortium mapping MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1140.TXT.