Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: icu46/source/data/mappings/noop-cns-11643.ucm

Issue 6010003: Apply the converter patches for ICU 4.2.1 to ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ native
OLDNEW
(Empty)
1 # ****************************************************************************** *
2 # *
3 # * Copyright (C) 2009, International Business Machines
4 # * Corporation and others. All Rights Reserved.
5 # *
6 # ****************************************************************************** *
7 #
8 # File created on Dec 2, 2009
9 #
10 # This is not a real CNS-11643 table, but a "fake" table to return U+FFFD
11 # for every byte sequence valid in ISO-2022-CN(-Ext). Chrome and Android
12 # do not want to include the real table for charsets that are extremely
13 # rare, if used at all. However, not supporting ISO-2022-CN(-Ext) gets
14 # them vulernable to a security issue. By including this 'fake' table,
15 # they can be protected while increasing the ICU data size by ~ 10kB.
16 <code_set_name> "NOOP-CNS-11643"
17 <char_name_mask> "AXXXX"
18 <mb_cur_max> 3
19 <mb_cur_min> 3
20 <uconv_class> "MBCS"
21 <subchar> \x81\x7e\x7e
22
23 # (state 0) lead byte, selects the CNS plane (0x80 + plane number)
24 <icu:state> 81-90:1
25
26 # (1..2) middle and trail bytes for valid but unassigned sequences
27 <icu:state> 21-7e:2
28 <icu:state> 21-7e.u
29
30 CHARMAP
31 END CHARMAP
OLDNEW
« no previous file with comments | « icu46/source/data/mappings/iso-8859_16-2001.ucm ('k') | icu46/source/data/mappings/noop-gb2312_gl.ucm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698