Home | History | Annotate | Download | only in mappings
      1 #________________________________________________________________________
      2 #
      3 # (C) COPYRIGHT International Business Machines Corp. 2009
      4 #     All Rights Reserved
      5 #
      6 #________________________________________________________________________
      7 #
      8 #       Name:    "Fake" Unicode to ISO-IR-165 table
      9 #       Date:    December 2, 2009
     10 #
     11 # This is not a real GB2312 GL table, but a "fake" table to return U+FFFD
     12 # for every byte sequence valid in GB2312 GL. Chrome and Android
     13 # do not want to include the real table for ISO-1022-CN(-Ext) that are extremely
     14 # rare, if used at all. However, the lack of support gets
     15 # them vulernable to a security issue. By including this 'fake' table
     16 # and two others, they can be protected while increasing the ICU data size
     17 # by ~ 10kB.
     18 <code_set_name>               "noop-gb2312_gl"
     19 <char_name_mask>              "AXXXX"
     20 <mb_cur_max>                  2
     21 <mb_cur_min>                  2
     22 <uconv_class>                 "DBCS"
     23 <subchar>                     \x21\x21
     24 <icu:charsetFamily>           "ASCII"
     25 <icu:alias>                   "ibm-5478_STD"
     26 
     27 <icu:state>                   0-20:2, 21-7e:1, 7f-ff:2
     28 <icu:state>                   21-7e.u
     29 <icu:state>
     30 
     31 CHARMAP
     32 END CHARMAP
     33