From 799c8d6905433ad56f26ccab4855b36f1d1ddbfc Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 7 Sep 2017 15:28:28 +0200 Subject: Add new codepage charmaps/IBM858 [BZ #21084] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code page is identical to code page 850 except that X'D5' has been changed from LI61 (dotless i) to SC20 (euro symbol). The code points from /x01 to /x1f in the /localedata/charmaps/IBM858 file have the same mapping as those in localedata/charmaps/ANSI_X3.4-1968. That means they disagree with with ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP00858.txt in that range. For example, localedata/charmaps/IBM858 and localedata/charmaps/ANSI_X3.4-1968 have: “ /x01 START OF HEADING (SOH)” whereas CP00858.txt has: “01 SS000000 Smiling Face” That means that CP00858.txt is not really ASCII-compatible and to make it ASCII-compatible we deviate fro CP00858.txt in the code points from /x01 to /x1f. [BZ #21084] * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c. * iconvdata/Makefile: Add IBM858. * iconvdata/gconv-modules: Add IBM858. * iconvdata/ibm858.c: New file. * iconvdata/tst-tables.sh: Add IBM858 * localedata/charmaps/IBM858: New file. --- localedata/charmaps/IBM858 | 281 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 281 insertions(+) create mode 100644 localedata/charmaps/IBM858 (limited to 'localedata/charmaps') diff --git a/localedata/charmaps/IBM858 b/localedata/charmaps/IBM858 new file mode 100644 index 0000000000..d8600e2456 --- /dev/null +++ b/localedata/charmaps/IBM858 @@ -0,0 +1,281 @@ + IBM858 + % + / +% version: 1.0 +% source: ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP00858.txt, 1998 + +% source: UNICODE 1.0 + +% This code page is identical to code page 850 except that X'D5' +% has been changed from LI61 (dotless i) to SC20 (euro symbol). + +% The code points from /x01 to /x1f in this file have the same mapping +% as those in ANSI_X3.4-1968. That means they disagree with with CP00858.txt +% in that range. For example, this file and ANSI_X3.4-1968 have: +% “ /x01 START OF HEADING (SOH)” +% whereas CP00858.txt has: +% “01 SS000000 Smiling Face” +% That means that CP00858.txt is not really ASCII-compatible and to make +% it ASCII-compatible we deviate fro CP00858.txt in the code points from /x01 +% to /x1f. + +% alias CP858 +% alias 858 +CHARMAP + /x00 NULL (NUL) + /x01 START OF HEADING (SOH) + /x02 START OF TEXT (STX) + /x03 END OF TEXT (ETX) + /x04 END OF TRANSMISSION (EOT) + /x05 ENQUIRY (ENQ) + /x06 ACKNOWLEDGE (ACK) + /x07 BELL (BEL) + /x08 BACKSPACE (BS) + /x09 CHARACTER TABULATION (HT) + /x0a LINE FEED (LF) + /x0b LINE TABULATION (VT) + /x0c FORM FEED (FF) + /x0d CARRIAGE RETURN (CR) + /x0e SHIFT OUT (SO) + /x0f SHIFT IN (SI) + /x10 DATALINK ESCAPE (DLE) + /x11 DEVICE CONTROL ONE (DC1) + /x12 DEVICE CONTROL TWO (DC2) + /x13 DEVICE CONTROL THREE (DC3) + /x14 DEVICE CONTROL FOUR (DC4) + /x15 NEGATIVE ACKNOWLEDGE (NAK) + /x16 SYNCHRONOUS IDLE (SYN) + /x17 END OF TRANSMISSION BLOCK (ETB) + /x18 CANCEL (CAN) + /x19 END OF MEDIUM (EM) + /x1a SUBSTITUTE (SUB) + /x1b ESCAPE (ESC) + /x1c FILE SEPARATOR (IS4) + /x1d GROUP SEPARATOR (IS3) + /x1e RECORD SEPARATOR (IS2) + /x1f UNIT SEPARATOR (IS1) + /x20 SPACE + /x21 EXCLAMATION MARK + /x22 QUOTATION MARK + /x23 NUMBER SIGN + /x24 DOLLAR SIGN + /x25 PERCENT SIGN + /x26 AMPERSAND + /x27 APOSTROPHE + /x28 LEFT PARENTHESIS + /x29 RIGHT PARENTHESIS + /x2a ASTERISK + /x2b PLUS SIGN + /x2c COMMA + /x2d HYPHEN-MINUS + /x2e FULL STOP + /x2f SOLIDUS + /x30 DIGIT ZERO + /x31 DIGIT ONE + /x32 DIGIT TWO + /x33 DIGIT THREE + /x34 DIGIT FOUR + /x35 DIGIT FIVE + /x36 DIGIT SIX + /x37 DIGIT SEVEN + /x38 DIGIT EIGHT + /x39 DIGIT NINE + /x3a COLON + /x3b SEMICOLON + /x3c LESS-THAN SIGN + /x3d EQUALS SIGN + /x3e GREATER-THAN SIGN + /x3f QUESTION MARK + /x40 COMMERCIAL AT + /x41 LATIN CAPITAL LETTER A + /x42 LATIN CAPITAL LETTER B + /x43 LATIN CAPITAL LETTER C + /x44 LATIN CAPITAL LETTER D + /x45 LATIN CAPITAL LETTER E + /x46 LATIN CAPITAL LETTER F + /x47 LATIN CAPITAL LETTER G + /x48 LATIN CAPITAL LETTER H + /x49 LATIN CAPITAL LETTER I + /x4a LATIN CAPITAL LETTER J + /x4b LATIN CAPITAL LETTER K + /x4c LATIN CAPITAL LETTER L + /x4d LATIN CAPITAL LETTER M + /x4e LATIN CAPITAL LETTER N + /x4f LATIN CAPITAL LETTER O + /x50 LATIN CAPITAL LETTER P + /x51 LATIN CAPITAL LETTER Q + /x52 LATIN CAPITAL LETTER R + /x53 LATIN CAPITAL LETTER S + /x54 LATIN CAPITAL LETTER T + /x55 LATIN CAPITAL LETTER U + /x56 LATIN CAPITAL LETTER V + /x57 LATIN CAPITAL LETTER W + /x58 LATIN CAPITAL LETTER X + /x59 LATIN CAPITAL LETTER Y + /x5a LATIN CAPITAL LETTER Z + /x5b LEFT SQUARE BRACKET + /x5c REVERSE SOLIDUS + /x5d RIGHT SQUARE BRACKET + /x5e CIRCUMFLEX ACCENT + /x5f LOW LINE + /x60 GRAVE ACCENT + /x61 LATIN SMALL LETTER A + /x62 LATIN SMALL LETTER B + /x63 LATIN SMALL LETTER C + /x64 LATIN SMALL LETTER D + /x65 LATIN SMALL LETTER E + /x66 LATIN SMALL LETTER F + /x67 LATIN SMALL LETTER G + /x68 LATIN SMALL LETTER H + /x69 LATIN SMALL LETTER I + /x6a LATIN SMALL LETTER J + /x6b LATIN SMALL LETTER K + /x6c LATIN SMALL LETTER L + /x6d LATIN SMALL LETTER M + /x6e LATIN SMALL LETTER N + /x6f LATIN SMALL LETTER O + /x70 LATIN SMALL LETTER P + /x71 LATIN SMALL LETTER Q + /x72 LATIN SMALL LETTER R + /x73 LATIN SMALL LETTER S + /x74 LATIN SMALL LETTER T + /x75 LATIN SMALL LETTER U + /x76 LATIN SMALL LETTER V + /x77 LATIN SMALL LETTER W + /x78 LATIN SMALL LETTER X + /x79 LATIN SMALL LETTER Y + /x7a LATIN SMALL LETTER Z + /x7b LEFT CURLY BRACKET + /x7c VERTICAL LINE + /x7d RIGHT CURLY BRACKET + /x7e TILDE + /x7f DELETE (DEL) + /x80 LATIN CAPITAL LETTER C WITH CEDILLA + /x81 LATIN SMALL LETTER U WITH DIAERESIS + /x82 LATIN SMALL LETTER E WITH ACUTE + /x83 LATIN SMALL LETTER A WITH CIRCUMFLEX + /x84 LATIN SMALL LETTER A WITH DIAERESIS + /x85 LATIN SMALL LETTER A WITH GRAVE + /x86 LATIN SMALL LETTER A WITH RING ABOVE + /x87 LATIN SMALL LETTER C WITH CEDILLA + /x88 LATIN SMALL LETTER E WITH CIRCUMFLEX + /x89 LATIN SMALL LETTER E WITH DIAERESIS + /x8a LATIN SMALL LETTER E WITH GRAVE + /x8b LATIN SMALL LETTER I WITH DIAERESIS + /x8c LATIN SMALL LETTER I WITH CIRCUMFLEX + /x8d LATIN SMALL LETTER I WITH GRAVE + /x8e LATIN CAPITAL LETTER A WITH DIAERESIS + /x8f LATIN CAPITAL LETTER A WITH RING ABOVE + /x90 LATIN CAPITAL LETTER E WITH ACUTE + /x91 LATIN SMALL LETTER AE + /x92 LATIN CAPITAL LETTER AE + /x93 LATIN SMALL LETTER O WITH CIRCUMFLEX + /x94 LATIN SMALL LETTER O WITH DIAERESIS + /x95 LATIN SMALL LETTER O WITH GRAVE + /x96 LATIN SMALL LETTER U WITH CIRCUMFLEX + /x97 LATIN SMALL LETTER U WITH GRAVE + /x98 LATIN SMALL LETTER Y WITH DIAERESIS + /x99 LATIN CAPITAL LETTER O WITH DIAERESIS + /x9a LATIN CAPITAL LETTER U WITH DIAERESIS + /x9b LATIN SMALL LETTER O WITH STROKE + /x9c POUND SIGN + /x9d LATIN CAPITAL LETTER O WITH STROKE + /x9e MULTIPLICATION SIGN + /x9f LATIN SMALL LETTER F WITH HOOK + /xa0 LATIN SMALL LETTER A WITH ACUTE + /xa1 LATIN SMALL LETTER I WITH ACUTE + /xa2 LATIN SMALL LETTER O WITH ACUTE + /xa3 LATIN SMALL LETTER U WITH ACUTE + /xa4 LATIN SMALL LETTER N WITH TILDE + /xa5 LATIN CAPITAL LETTER N WITH TILDE + /xa6 FEMININE ORDINAL INDICATOR + /xa7 MASCULINE ORDINAL INDICATOR + /xa8 INVERTED QUESTION MARK + /xa9 REGISTERED SIGN + /xaa NOT SIGN + /xab VULGAR FRACTION ONE HALF + /xac VULGAR FRACTION ONE QUARTER + /xad INVERTED EXCLAMATION MARK + /xae LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + /xaf RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + /xb0 LIGHT SHADE + /xb1 MEDIUM SHADE + /xb2 DARK SHADE + /xb3 BOX DRAWINGS LIGHT VERTICAL + /xb4 BOX DRAWINGS LIGHT VERTICAL AND LEFT + /xb5 LATIN CAPITAL LETTER A WITH ACUTE + /xb6 LATIN CAPITAL LETTER A WITH CIRCUMFLEX + /xb7 LATIN CAPITAL LETTER A WITH GRAVE + /xb8 COPYRIGHT SIGN + /xb9 BOX DRAWINGS DOUBLE VERTICAL AND LEFT + /xba BOX DRAWINGS DOUBLE VERTICAL + /xbb BOX DRAWINGS DOUBLE DOWN AND LEFT + /xbc BOX DRAWINGS DOUBLE UP AND LEFT + /xbd CENT SIGN + /xbe YEN SIGN + /xbf BOX DRAWINGS LIGHT DOWN AND LEFT + /xc0 BOX DRAWINGS LIGHT UP AND RIGHT + /xc1 BOX DRAWINGS LIGHT UP AND HORIZONTAL + /xc2 BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + /xc3 BOX DRAWINGS LIGHT VERTICAL AND RIGHT + /xc4 BOX DRAWINGS LIGHT HORIZONTAL + /xc5 BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + /xc6 LATIN SMALL LETTER A WITH TILDE + /xc7 LATIN CAPITAL LETTER A WITH TILDE + /xc8 BOX DRAWINGS DOUBLE UP AND RIGHT + /xc9 BOX DRAWINGS DOUBLE DOWN AND RIGHT + /xca BOX DRAWINGS DOUBLE UP AND HORIZONTAL + /xcb BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + /xcc BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + /xcd BOX DRAWINGS DOUBLE HORIZONTAL + /xce BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + /xcf CURRENCY SIGN + /xd0 LATIN SMALL LETTER ETH (Icelandic) + /xd1 LATIN CAPITAL LETTER ETH (Icelandic) + /xd2 LATIN CAPITAL LETTER E WITH CIRCUMFLEX + /xd3 LATIN CAPITAL LETTER E WITH DIAERESIS + /xd4 LATIN CAPITAL LETTER E WITH GRAVE + /xd5 EURO SIGN + /xd6 LATIN CAPITAL LETTER I WITH ACUTE + /xd7 LATIN CAPITAL LETTER I WITH CIRCUMFLEX + /xd8 LATIN CAPITAL LETTER I WITH DIAERESIS + /xd9 BOX DRAWINGS LIGHT UP AND LEFT + /xda BOX DRAWINGS LIGHT DOWN AND RIGHT + /xdb FULL BLOCK + /xdc LOWER HALF BLOCK + /xdd BROKEN BAR + /xde LATIN CAPITAL LETTER I WITH GRAVE + /xdf UPPER HALF BLOCK + /xe0 LATIN CAPITAL LETTER O WITH ACUTE + /xe1 LATIN SMALL LETTER SHARP S (German) + /xe2 LATIN CAPITAL LETTER O WITH CIRCUMFLEX + /xe3 LATIN CAPITAL LETTER O WITH GRAVE + /xe4 LATIN SMALL LETTER O WITH TILDE + /xe5 LATIN CAPITAL LETTER O WITH TILDE + /xe6 MICRO SIGN + /xe7 LATIN SMALL LETTER THORN (Icelandic) + /xe8 LATIN CAPITAL LETTER THORN (Icelandic) + /xe9 LATIN CAPITAL LETTER U WITH ACUTE + /xea LATIN CAPITAL LETTER U WITH CIRCUMFLEX + /xeb LATIN CAPITAL LETTER U WITH GRAVE + /xec LATIN SMALL LETTER Y WITH ACUTE + /xed LATIN CAPITAL LETTER Y WITH ACUTE + /xee MACRON + /xef ACUTE ACCENT + /xf0 SOFT HYPHEN + /xf1 PLUS-MINUS SIGN + /xf2 DOUBLE LOW LINE + /xf3 VULGAR FRACTION THREE QUARTERS + /xf4 PILCROW SIGN + /xf5 SECTION SIGN + /xf6 DIVISION SIGN + /xf7 CEDILLA + /xf8 DEGREE SIGN + /xf9 DIAERESIS + /xfa MIDDLE DOT + /xfb SUPERSCRIPT ONE + /xfc SUPERSCRIPT THREE + /xfd SUPERSCRIPT TWO + /xfe BLACK SQUARE + /xff NO-BREAK SPACE +END CHARMAP -- cgit 1.4.1