MediaWiki  1.23.6
UtfNormalDefines.php File Reference

Some constant definitions for the unicode normalization module. More...

Go to the source code of this file.

Variables

const UNICODE_HANGUL_FIRST 0xac00
 
const UNICODE_HANGUL_LAST 0xd7a3
 
const UNICODE_HANGUL_LBASE 0x1100
 
const UNICODE_HANGUL_LCOUNT 19
 
const UNICODE_HANGUL_LEND UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1
 
const UNICODE_HANGUL_NCOUNT UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT
 
const UNICODE_HANGUL_TBASE 0x11a7
 
const UNICODE_HANGUL_TCOUNT 28
 
const UNICODE_HANGUL_TEND UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1
 
const UNICODE_HANGUL_VBASE 0x1161
 
const UNICODE_HANGUL_VCOUNT 21
 
const UNICODE_HANGUL_VEND UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1
 
const UNICODE_MAX 0x10ffff
 
const UNICODE_REPLACEMENT 0xfffd
 
const UNICODE_SURROGATE_FIRST 0xd800
 
const UNICODE_SURROGATE_LAST 0xdfff
 
const UTF8_FDD0 "\xef\xb7\x90"
 
const UTF8_FDEF "\xef\xb7\xaf"
 
const UTF8_FFFE "\xef\xbf\xbe"
 
const UTF8_FFFF "\xef\xbf\xbf"
 
const UTF8_HANGUL_FIRST "\xea\xb0\x80"
 
const UTF8_HANGUL_LAST "\xed\x9e\xa3"
 
const UTF8_HANGUL_LBASE "\xe1\x84\x80"
 
const UTF8_HANGUL_LEND "\xe1\x84\x92"
 
const UTF8_HANGUL_TBASE "\xe1\x86\xa7"
 
const UTF8_HANGUL_TEND "\xe1\x87\x82"
 
const UTF8_HANGUL_VBASE "\xe1\x85\xa1"
 
const UTF8_HANGUL_VEND "\xe1\x85\xb5"
 
const UTF8_HEAD false
 
const UTF8_MAX "\xf4\x8f\xbf\xbf"
 
const UTF8_OVERLONG_A "\xc1\xbf"
 
const UTF8_OVERLONG_B "\xe0\x9f\xbf"
 
const UTF8_OVERLONG_C "\xf0\x8f\xbf\xbf"
 
const UTF8_REPLACEMENT "\xef\xbf\xbd"
 
const UTF8_SURROGATE_FIRST "\xed\xa0\x80"
 
const UTF8_SURROGATE_LAST "\xed\xbf\xbf"
 
const UTF8_TAIL true
 

Detailed Description

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.

Variable Documentation

◆ UNICODE_HANGUL_FIRST

const UNICODE_HANGUL_FIRST 0xac00

Definition at line 28 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().

◆ UNICODE_HANGUL_LAST

const UNICODE_HANGUL_LAST 0xd7a3

Definition at line 29 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LBASE

const UNICODE_HANGUL_LBASE 0x1100

Definition at line 31 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LCOUNT

const UNICODE_HANGUL_LCOUNT 19

Definition at line 35 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LEND

const UNICODE_HANGUL_LEND UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1

Definition at line 40 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_NCOUNT

const UNICODE_HANGUL_NCOUNT UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT

Definition at line 38 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastDecompose().

◆ UNICODE_HANGUL_TBASE

const UNICODE_HANGUL_TBASE 0x11a7

Definition at line 33 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_TCOUNT

const UNICODE_HANGUL_TCOUNT 28

Definition at line 37 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().

◆ UNICODE_HANGUL_TEND

const UNICODE_HANGUL_TEND UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1

Definition at line 42 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_VBASE

const UNICODE_HANGUL_VBASE 0x1161

Definition at line 32 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_VCOUNT

const UNICODE_HANGUL_VCOUNT 21

Definition at line 36 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UNICODE_HANGUL_VEND

const UNICODE_HANGUL_VEND UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1

Definition at line 41 of file UtfNormalDefines.php.

◆ UNICODE_MAX

const UNICODE_MAX 0x10ffff

Definition at line 46 of file UtfNormalDefines.php.

Referenced by CleanUpTest\XtestAllChars().

◆ UNICODE_REPLACEMENT

const UNICODE_REPLACEMENT 0xfffd

Definition at line 47 of file UtfNormalDefines.php.

◆ UNICODE_SURROGATE_FIRST

const UNICODE_SURROGATE_FIRST 0xd800

Definition at line 44 of file UtfNormalDefines.php.

Referenced by CleanUpTest\XtestAllChars().

◆ UNICODE_SURROGATE_LAST

const UNICODE_SURROGATE_LAST 0xdfff

Definition at line 45 of file UtfNormalDefines.php.

Referenced by CleanUpTest\XtestAllChars().

◆ UTF8_FDD0

const UTF8_FDD0 "\xef\xb7\x90"

Definition at line 72 of file UtfNormalDefines.php.

◆ UTF8_FDEF

const UTF8_FDEF "\xef\xb7\xaf"

Definition at line 73 of file UtfNormalDefines.php.

◆ UTF8_FFFE

const UTF8_FFFE "\xef\xbf\xbe"

◆ UTF8_FFFF

const UTF8_FFFF "\xef\xbf\xbf"

◆ UTF8_HANGUL_FIRST

const UTF8_HANGUL_FIRST "\xea\xb0\x80"

Definition at line 50 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().

◆ UTF8_HANGUL_LAST

const UTF8_HANGUL_LAST "\xed\x9e\xa3"

Definition at line 51 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose(), and UtfNormal\fastDecompose().

◆ UTF8_HANGUL_LBASE

const UTF8_HANGUL_LBASE "\xe1\x84\x80"

Definition at line 53 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HANGUL_LEND

const UTF8_HANGUL_LEND "\xe1\x84\x92"

Definition at line 57 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HANGUL_TBASE

const UTF8_HANGUL_TBASE "\xe1\x86\xa7"

Definition at line 55 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HANGUL_TEND

const UTF8_HANGUL_TEND "\xe1\x87\x82"

Definition at line 59 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HANGUL_VBASE

const UTF8_HANGUL_VBASE "\xe1\x85\xa1"

Definition at line 54 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HANGUL_VEND

const UTF8_HANGUL_VEND "\xe1\x85\xb5"

Definition at line 58 of file UtfNormalDefines.php.

Referenced by UtfNormal\fastCompose().

◆ UTF8_HEAD

const UTF8_HEAD false

Definition at line 77 of file UtfNormalDefines.php.

◆ UTF8_MAX

const UTF8_MAX "\xf4\x8f\xbf\xbf"

Definition at line 63 of file UtfNormalDefines.php.

Referenced by UtfNormal\quickIsNFCVerify().

◆ UTF8_OVERLONG_A

const UTF8_OVERLONG_A "\xc1\xbf"

Definition at line 67 of file UtfNormalDefines.php.

Referenced by UtfNormal\quickIsNFCVerify().

◆ UTF8_OVERLONG_B

const UTF8_OVERLONG_B "\xe0\x9f\xbf"

Definition at line 68 of file UtfNormalDefines.php.

Referenced by UtfNormal\quickIsNFCVerify().

◆ UTF8_OVERLONG_C

const UTF8_OVERLONG_C "\xf0\x8f\xbf\xbf"

Definition at line 69 of file UtfNormalDefines.php.

Referenced by UtfNormal\quickIsNFCVerify().

◆ UTF8_REPLACEMENT

◆ UTF8_SURROGATE_FIRST

const UTF8_SURROGATE_FIRST "\xed\xa0\x80"

◆ UTF8_SURROGATE_LAST

const UTF8_SURROGATE_LAST "\xed\xbf\xbf"

Definition at line 62 of file UtfNormalDefines.php.

◆ UTF8_TAIL

const UTF8_TAIL true

Definition at line 78 of file UtfNormalDefines.php.