I18n:Updating Unicode version: Difference between revisions

Jump to navigation Jump to search
Updated for version 8.0 of Unicode
(→‎Unicode properties: updated for version 8.0 of Unicode)
(Updated for version 8.0 of Unicode)
Line 33: Line 33:
* nsUnicodeScriptCodes.h
* nsUnicodeScriptCodes.h
in the current directory.
in the current directory.
== Casing ==
We require  Unicode data files from http://www.unicode.org/Public/UNIDATA/<br>
As well as UnicodeData.txt downloaded in the previous set, we need
* SpecialCasing.txt
From intl/unichar/util, run the command:
perl ../tools/genSpecialCasingData.pl /path/to/UCD-directory/UnicodeData.txt /path/to/UCD-directory/SpecialCasing.txt > nsSpecialCasingData.cpp
This will generate (or overwrite!) the files
* nsSpecialCasingData.cpp
* all-lower-ref.html
* all-lower.html
* all-title-ref.html
* all-title.html
* all-upper-ref.html
* all-upper.html
in the current directory
Then move the six *.html files to layout/reftests/text-transform


== Normalization ==
== Normalization ==
== Transliteration ==


#Download the latest version of UnicodeData.txt from the Unicode website. The current version can be found at http://www.unicode.org/Public/UNIDATA/UnicodeData.txt.
Currently our normalization data is frozen at Unicode 3.2 to conform to [https://www.ietf.org/rfc/rfc3454.txt RFC 3454] (Stringprep), see [https://bugzilla.mozilla.org/show_bug.cgi?id=728180 Bug 728180]
#Copy this file to intl/unicharutil/tools/UnicodeData-Latest.txt in the mozilla source tree
#Run <tt>perl gentransliterate.pl</tt> in intl/unichar/tools. This creates a new version of intl/unicharutil/tables/transliterate.properties


== JavaScript Unicode support ==
== JavaScript Unicode support ==
67

edits

Navigation menu