MediaWiki
1.23.0
|
Some constant definitions for the unicode normalization module. More...
Go to the source code of this file.
Some constant definitions for the unicode normalization module.
Note: these constants must all be resolvable at compile time by HipHop, since this file will not be executed during request startup for a compiled MediaWiki.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file UtfNormalDefines.php.
const UNICODE_HANGUL_FIRST 0xac00 |
Definition at line 28 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().
const UNICODE_HANGUL_LAST 0xd7a3 |
Definition at line 29 of file UtfNormalDefines.php.
const UNICODE_HANGUL_LBASE 0x1100 |
Definition at line 31 of file UtfNormalDefines.php.
const UNICODE_HANGUL_LCOUNT 19 |
Definition at line 35 of file UtfNormalDefines.php.
const UNICODE_HANGUL_LEND UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1 |
Definition at line 40 of file UtfNormalDefines.php.
const UNICODE_HANGUL_NCOUNT UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT |
Definition at line 38 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastDecompose().
const UNICODE_HANGUL_TBASE 0x11a7 |
Definition at line 33 of file UtfNormalDefines.php.
const UNICODE_HANGUL_TCOUNT 28 |
Definition at line 37 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().
const UNICODE_HANGUL_TEND UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1 |
Definition at line 42 of file UtfNormalDefines.php.
const UNICODE_HANGUL_VBASE 0x1161 |
Definition at line 32 of file UtfNormalDefines.php.
const UNICODE_HANGUL_VCOUNT 21 |
Definition at line 36 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UNICODE_HANGUL_VEND UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1 |
Definition at line 41 of file UtfNormalDefines.php.
const UNICODE_MAX 0x10ffff |
Definition at line 46 of file UtfNormalDefines.php.
Referenced by CleanUpTest\XtestAllChars().
const UNICODE_REPLACEMENT 0xfffd |
Definition at line 47 of file UtfNormalDefines.php.
const UNICODE_SURROGATE_FIRST 0xd800 |
Definition at line 44 of file UtfNormalDefines.php.
Referenced by CleanUpTest\XtestAllChars().
const UNICODE_SURROGATE_LAST 0xdfff |
Definition at line 45 of file UtfNormalDefines.php.
Referenced by CleanUpTest\XtestAllChars().
const UTF8_FDD0 "\xef\xb7\x90" |
Definition at line 72 of file UtfNormalDefines.php.
const UTF8_FDEF "\xef\xb7\xaf" |
Definition at line 73 of file UtfNormalDefines.php.
const UTF8_FFFE "\xef\xbf\xbe" |
Definition at line 74 of file UtfNormalDefines.php.
Referenced by donorm(), UtfNormal\quickIsNFCVerify(), and UtfNormal\replaceForNativeNormalize().
const UTF8_FFFF "\xef\xbf\xbf" |
Definition at line 75 of file UtfNormalDefines.php.
Referenced by donorm(), UtfNormal\quickIsNFCVerify(), and UtfNormal\replaceForNativeNormalize().
const UTF8_HANGUL_FIRST "\xea\xb0\x80" |
Definition at line 50 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().
const UTF8_HANGUL_LAST "\xed\x9e\xa3" |
Definition at line 51 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().
const UTF8_HANGUL_LBASE "\xe1\x84\x80" |
Definition at line 53 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HANGUL_LEND "\xe1\x84\x92" |
Definition at line 57 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HANGUL_TBASE "\xe1\x86\xa7" |
Definition at line 55 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HANGUL_TEND "\xe1\x87\x82" |
Definition at line 59 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HANGUL_VBASE "\xe1\x85\xa1" |
Definition at line 54 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HANGUL_VEND "\xe1\x85\xb5" |
Definition at line 58 of file UtfNormalDefines.php.
Referenced by UtfNormal\fastCompose().
const UTF8_HEAD false |
Definition at line 77 of file UtfNormalDefines.php.
const UTF8_MAX "\xf4\x8f\xbf\xbf" |
Definition at line 63 of file UtfNormalDefines.php.
Referenced by UtfNormal\quickIsNFCVerify().
const UTF8_OVERLONG_A "\xc1\xbf" |
Definition at line 67 of file UtfNormalDefines.php.
Referenced by UtfNormal\quickIsNFCVerify().
const UTF8_OVERLONG_B "\xe0\x9f\xbf" |
Definition at line 68 of file UtfNormalDefines.php.
Referenced by UtfNormal\quickIsNFCVerify().
const UTF8_OVERLONG_C "\xf0\x8f\xbf\xbf" |
Definition at line 69 of file UtfNormalDefines.php.
Referenced by UtfNormal\quickIsNFCVerify().
const UTF8_REPLACEMENT "\xef\xbf\xbd" |
Definition at line 64 of file UtfNormalDefines.php.
Referenced by Sanitizer\decodeChar(), donorm(), CleanUpTest\doTestBytes(), CleanUpTest\doTestDoubleBytes(), CleanUpTest\doTestTripleBytes(), UtfNormal\quickIsNFCVerify(), UtfNormal\replaceForNativeNormalize(), MediaWikiTitleCodec\splitTitleString(), SanitizerTest\testInvalidNumberedEntities(), and CleanUpTest\XtestAllChars().
const UTF8_SURROGATE_FIRST "\xed\xa0\x80" |
Definition at line 61 of file UtfNormalDefines.php.
Referenced by CleanUpTest\doTestTripleBytes(), and UtfNormal\quickIsNFCVerify().
const UTF8_SURROGATE_LAST "\xed\xbf\xbf" |
Definition at line 62 of file UtfNormalDefines.php.
const UTF8_TAIL true |
Definition at line 78 of file UtfNormalDefines.php.