blob: 45645885e43eeb205d0a5c09ab0744bace9cddce [file] [log] [blame]
#________________________________________________________________________
#
# (C) COPYRIGHT International Business Machines Corp. 2009
# All Rights Reserved
#
#________________________________________________________________________
#
# Name: "Fake" Unicode to ISO-IR-165 table
# Date: December 2, 2009
#
# This is not a real ISO-IR-165 table, but a "fake" table to return U+FFFD
# for every byte sequence valid in ISO-IR-165. Chrome and Android
# do not want to include the real table for ISO-1022-CN(-Ext) that are
# extremely rare, if used at all. However, the lack of support gets
# them vulernable to a security issue. By including this 'fake' table
# and two others, they can be protected while increasing the ICU data size
# by only ~ 10kB.
<code_set_name> "noop-iso-ir-165"
<char_name_mask> "AXXXX"
<mb_cur_max> 2
<mb_cur_min> 2
<uconv_class> "MBCS"
<subchar> \x7e\x7e
<icu:state> 0-20:2, 21-7e:1, 7f-ff:2
<icu:state> 21-7e.u
<icu:state>
#
CHARMAP
END CHARMAP