From c012a63d950d2eb77367d23232e50b5994a9554e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 8 May 2008 06:28:50 +0000 Subject: * (bug 13615) Update case mappings and normalization to Unicode 5.1.0 Note that case mappings will only be used if mbstring extension is not present. Normalization data files updated to Unicode 5.1.0; passes the automated tests. Seem to have long since lost the script I originally used to generate the Utf8Case.php mapping file, which appears not to have been updated since 2002 or so. :) Made a new one and moved it into the UtfNormal sub-library. Note a couple limitations: * Case mapping (still) uses only the 1:1 simple mappings. Any full or locale-specific mappings are ignored. * These case mappings are not used anyway when the PHP mbstring extension is available; mbstring's case conversion functions are used instead, with whatever version of Unicode support and whatever complex mapping support they may or may not have. * The generated Utf8Case.php file is not used directly -- you must also regenerate the serialized version in the 'serialized' directory after updating it to a new Unicode version. --- serialized/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'serialized/Makefile') diff --git a/serialized/Makefile b/serialized/Makefile index 04a560df5bc3..fcdcbff74733 100644 --- a/serialized/Makefile +++ b/serialized/Makefile @@ -21,7 +21,7 @@ dist: $(DIST_TARGETS) clean: rm -f $(ALL_TARGETS) -Utf8Case.ser : ../includes/Utf8Case.php +Utf8Case.ser : ../includes/normal/Utf8Case.php php serialize.php -o $@ $< Messages%.ser : ../languages/messages/Messages%.php ../languages/messages/MessagesEn.php -- cgit v1.2.3