charconvfw/charconvplugins/data/gb18030_diff_gbk.ctl
changeset 0 1fb32624e06b
child 40 91ef7621b7fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charconvfw/charconvplugins/data/gb18030_diff_gbk.ctl	Tue Feb 02 02:02:46 2010 +0200
@@ -0,0 +1,42 @@
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+#
+
+
+
+Endianness															FixedBigEndian
+ReplacementForUnconvertibleUnicodeCharacters						0xa3 0xbf # fullwidth question mark - must be a single character, and must be little-endian if the "Endianness" above is "Unspecified", otherwise in the same endianness as specified
+
+StartForeignVariableByteData
+#	FirstInitialByteValueInRange	LastInitialByteValueInRange		NumberOfSubsequentBytes
+	0x80							0xFF							1
+EndForeignVariableByteData
+
+#######################################################################################################################
+# Note: gbk_shared.cpp knows about the number of foreign-to-Unicode ranges and Unicode-to-foreign ranges in this file #
+#######################################################################################################################
+
+StartForeignToUnicodeData
+#	IncludePriority	SearchPriority	FirstInputCharacterCodeInRange	LastInputCharacterCodeInRange	Algorithm						Parameters
+	# Note: ASCII is in GB2312, so will be extracted from GBK's own conversion data
+	2				2				0xA140						0xFEFE						KeyedTable16OfIndexedTables16	{5}
+	1				1				0xA1A4						0xA95F						KeyedTable1616	{}    
+EndForeignToUnicodeData
+
+StartUnicodeToForeignData
+#	IncludePriority	SearchPriority	FirstInputCharacterCodeInRange	LastInputCharacterCodeInRange	Algorithm			SizeOfOutputCharacterCodeInBytes	Parameters
+	# Note: ASCII is in GB2312, so will be extracted from GBK's own conversion data
+	2				2				0x2FF0							0xFFE5							KeyedTable16OfIndexedTables16		2	{5}
+	1				1				0x00B7							0xFE6B							KeyedTable1616				2	{}
+EndUnicodeToForeignData
\ No newline at end of file