localisation/localesupport/OtherTools/CaseEquivalence.txt
author Pat Downey <patd@symbian.org>
Thu, 24 Jun 2010 11:38:54 +0100
changeset 39 489dfca94df8
parent 0 1fb32624e06b
permissions -rw-r--r--
Merge fix for bug 1860.

#
# 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.