localisation/localesupport/OtherTools/CaseEquivalence.txt
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 18:29:58 +0300
branchRCL_3
changeset 6 f7b2d24357ad
parent 0 1fb32624e06b
permissions -rw-r--r--
Revision: 201013 Kit: 201017

#
# Copyright (c) 1997-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:
CaseEquivalence.pl takes as its input the file UnicodeData-3.0.0.txt on the standard input stream and produces as output one of the following on the standard output stream depending on the option -o{t|f|r|m}:

-ot: produce a trie in C++ compilable format which gives a mapping for each Unicode character.
-of: produce a mapping of characters to canonical case equivalent character
-or: produce a list of canonical case characters and a list of what maps to each
-om: as -or but does not print those mappings for which only one character needs to map.

This is used to produce the e32 file FoldTable.inl

The files SpecialCasing.txt and CaseFolding.txt are not used by the tool as yet. These are other files from the Unicode Consortium.