(z/OS 1.10)  Motivatted by a thread in ASSEMBLER-LIST, I scanned
/usr/lib/nls/charmap/IBM-1047 looking for matching character
names in /usr/lib/nls/charmap/UTF-8.  (I used regular expressions.)
I found 186 IBM-1047 code points that have no matching names in
UTF-8.  I think this is pretty astonishing/dismaying.  Shouldn't
every IBM-1047 character have a UTF-8 mapping?  (Or am I just
looking at the wrong charmap?)

A few examples:
    ...
/x7c Not found: <commercial-at>        /x7c
/x7d Not found: <apostrophe>           /x7d
/x7e Not found: <equals-sign>          /x7e
/x7f Not found: <quotation-mark>       /x7f
/x80 Not found: <O-slash>              /x80
/x8a Not found: <left-angle-quotes>    /x8a
/x8b Not found: <right-angle-quotes>   /x8b
/x8c Not found: <eth>                  /x8c
/x8d Not found: <y-acute>              /x8d
/x8e Not found: <thorn>                /x8e
/x8f Not found: <plus-minus>           /x8f
/x90 Not found: <degree>               /x90
/x9a Not found: <feminine>             /x9a
/x9b Not found: <masculine>            /x9b
/x9c Not found: <ae>                   /x9c
/x9d Not found: <cedilla>              /x9d
/x9e Not found: <AE>                   /x9e
/x9f Not found: <currency>             /x9f
/xa0 Not found: <mu>                   /xa0
/xa1 Not found: <tilde>                /xa1
/xaa Not found: <exclamation-down>     /xaa
/xab Not found: <question-down>        /xab
/xac Not found: <Eth>                  /xac
/xad Not found: <left-square-bracket>  /xad
/xae Not found: <Thorn>                /xae
    ...

(/usr/lib/nls/charmap/ISO8859-1 shows zero such deficiencies, and
I had thought that IBM-1047 was supposed to be a one-for-one
translation of ISO8859-1.)

(I might take this over to MVS-OE, also.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to