sl@0: # Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: # All rights reserved.
sl@0: # This component and the accompanying materials are made available
sl@0: # under the terms of "Eclipse Public License v1.0"
sl@0: # which accompanies this distribution, and is available
sl@0: # at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: #
sl@0: # Initial Contributors:
sl@0: # Nokia Corporation - initial contribution.
sl@0: #
sl@0: # Contributors:
sl@0: #
sl@0: # Description:
sl@0: #
sl@0: # CP1250.CTL
sl@0: # Eastern European Character table (Code Page 1250)
sl@0: Endianness															FixedBigEndian
sl@0: ReplacementForUnconvertibleUnicodeCharacters						0x1a # This is code which replaces unknown chars
sl@0: 
sl@0: StartForeignVariableByteData
sl@0: #	FirstInitialByteValueInRange	LastInitialByteValueInRange		NumberOfSubsequentBytes
sl@0: # foreign codes are 8bit. (0=8bit, 1=16bit)
sl@0: 	0x00							0xff							0
sl@0: EndForeignVariableByteData
sl@0: 
sl@0: 
sl@0: StartForeignToUnicodeData
sl@0: # following table is made based on the output of: perl -w analyse.pl cp1250.txt test.out 1
sl@0: # Codes 00-7f are directly converted, 80-ff are using table.
sl@0: #	IncludePriority	SearchPriority	FirstInputCharacterCodeInRange	LastInputCharacterCodeInRange	Algorithm			Parameters
sl@0: 	2				2				0x00							0x7f							Direct				{}		# ASCII
sl@0: 	1				1				0x80							0xff							KeyedTable16OfIndexedTables16      {}		# various Latin characters with diacritics
sl@0: 
sl@0: EndForeignToUnicodeData
sl@0: 
sl@0: 
sl@0: # following table is made based on the output of: perl -w analyse.pl cp1250.txt test.out 2
sl@0: # direct conversion is fastest. KeydTable (slowest) is used to fill the holes. Ranges CAN overlap :) 
sl@0: # Notice that blocks under 5 bytes shouldn't be added here.
sl@0: 
sl@0: StartUnicodeToForeignData
sl@0: #	IncludePriority	SearchPriority	FirstInputCharacterCodeInRange	LastInputCharacterCodeInRange	Algorithm			SizeOfOutputCharacterCodeInBytes	Parameters
sl@0: 	7				7				0x0000							0x007f							Direct				1									{}		# ASCII
sl@0: 	6				6				0x0102							0x0107							IndexedTable16      1									{}
sl@0: 	5				5				0x010c							0x0111							IndexedTable16      1									{}
sl@0: 	4				4				0x015e							0x0165							IndexedTable16      1									{}
sl@0: 	3				3				0x0179							0x017e							IndexedTable16      1									{}
sl@0:     	2				2				0x0081							0x00fd							KeyedTable1616		1									{}
sl@0:     	1				1				0x0118							0x2122							KeyedTable1616		1									{}
sl@0: # ConflictResolution
sl@0: #	UnicodeCharacterCodeToResolve	ForeignCharacterCodePreferred
sl@0: # No confliced chars
sl@0: EndUnicodeToForeignData