From 5f88af1a75b59125cd6675f7a76590cbd4deaaa2 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Sat, 15 Jul 2006 15:44:54 +0000 Subject: Added: support for CJK and Hangul into the search engine git-svn-id: file:///svn/phpbb/trunk@6182 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/utf/utf_normalizer.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'phpBB/includes/utf') diff --git a/phpBB/includes/utf/utf_normalizer.php b/phpBB/includes/utf/utf_normalizer.php index c985337c64..0b567fad6b 100644 --- a/phpBB/includes/utf/utf_normalizer.php +++ b/phpBB/includes/utf/utf_normalizer.php @@ -22,6 +22,12 @@ define('UTF8_SURROGATE_LAST', "\xED\xBF\xBF"); define('UTF8_HANGUL_FIRST', "\xEA\xB0\x80"); define('UTF8_HANGUL_LAST', "\xED\x9E\xA3"); +define('UTF8_CJK_FIRST', "\xE4\xB8\x80"); +define('UTF8_CJK_LAST', "\xE9\xBE\xBB"); +define('UTF8_CJK_B_FIRST', "\xF0\xA0\x80\x80"); +define('UTF8_CJK_B_LAST', "\xF0\xAA\x9B\x96"); + + if (function_exists('utf8_normalize')) { -- cgit v1.2.1