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

Unified Diff: source/data/mappings/noop-cns-11643.ucm

Issue 598383002: Make all the single byte encodings compliant to the encoding spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/data/mappings/macintosh-html.ucm ('k') | source/data/mappings/noop-gb2312_gl.ucm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/data/mappings/noop-cns-11643.ucm
===================================================================
--- source/data/mappings/noop-cns-11643.ucm (revision 291619)
+++ source/data/mappings/noop-cns-11643.ucm (working copy)
@@ -1,31 +0,0 @@
-# *******************************************************************************
-# *
-# * Copyright (C) 2009, International Business Machines
-# * Corporation and others. All Rights Reserved.
-# *
-# *******************************************************************************
-#
-# File created on Dec 2, 2009
-#
-# This is not a real CNS-11643 table, but a "fake" table to return U+FFFD
-# for every byte sequence valid in ISO-2022-CN(-Ext). Chrome and Android
-# do not want to include the real table for charsets that are extremely
-# rare, if used at all. However, not supporting ISO-2022-CN(-Ext) gets
-# them vulernable to a security issue. By including this 'fake' table,
-# they can be protected while increasing the ICU data size by ~ 10kB.
-<code_set_name> "NOOP-CNS-11643"
-<char_name_mask> "AXXXX"
-<mb_cur_max> 3
-<mb_cur_min> 3
-<uconv_class> "MBCS"
-<subchar> \x81\x7e\x7e
-
-# (state 0) lead byte, selects the CNS plane (0x80 + plane number)
-<icu:state> 81-90:1
-
-# (1..2) middle and trail bytes for valid but unassigned sequences
-<icu:state> 21-7e:2
-<icu:state> 21-7e.u
-
-CHARMAP
-END CHARMAP
« no previous file with comments | « source/data/mappings/macintosh-html.ucm ('k') | source/data/mappings/noop-gb2312_gl.ucm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698