MediaWiki  1.30.0
UtfNormalDefines.php File Reference

Backwards-compatability constants which are now provided by the UtfNormal library. 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

Backwards-compatability constants which are now provided by the UtfNormal library.

They are hardcoded here since they are needed before the composer autoloader is initialized.

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
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 29 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LAST

const UNICODE_HANGUL_LAST 0xd7a3
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 33 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LBASE

const UNICODE_HANGUL_LBASE 0x1100
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 38 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LCOUNT

const UNICODE_HANGUL_LCOUNT 19
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 51 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_LEND

const UNICODE_HANGUL_LEND UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 68 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_NCOUNT

const UNICODE_HANGUL_NCOUNT UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 63 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_TBASE

const UNICODE_HANGUL_TBASE 0x11a7
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 46 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_TCOUNT

const UNICODE_HANGUL_TCOUNT 28
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 59 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_TEND

const UNICODE_HANGUL_TEND UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 76 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_VBASE

const UNICODE_HANGUL_VBASE 0x1161
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 42 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_VCOUNT

const UNICODE_HANGUL_VCOUNT 21
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 55 of file UtfNormalDefines.php.

◆ UNICODE_HANGUL_VEND

const UNICODE_HANGUL_VEND UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 72 of file UtfNormalDefines.php.

◆ UNICODE_MAX

const UNICODE_MAX 0x10ffff
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 89 of file UtfNormalDefines.php.

◆ UNICODE_REPLACEMENT

const UNICODE_REPLACEMENT 0xfffd
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 93 of file UtfNormalDefines.php.

◆ UNICODE_SURROGATE_FIRST

const UNICODE_SURROGATE_FIRST 0xd800
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 81 of file UtfNormalDefines.php.

◆ UNICODE_SURROGATE_LAST

const UNICODE_SURROGATE_LAST 0xdfff
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 85 of file UtfNormalDefines.php.

◆ UTF8_FDD0

const UTF8_FDD0 "\xef\xb7\x90"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 165 of file UtfNormalDefines.php.

◆ UTF8_FDEF

const UTF8_FDEF "\xef\xb7\xaf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 169 of file UtfNormalDefines.php.

◆ UTF8_FFFE

const UTF8_FFFE "\xef\xbf\xbe"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 173 of file UtfNormalDefines.php.

◆ UTF8_FFFF

const UTF8_FFFF "\xef\xbf\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 177 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_FIRST

const UTF8_HANGUL_FIRST "\xea\xb0\x80"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 98 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_LAST

const UTF8_HANGUL_LAST "\xed\x9e\xa3"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 102 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_LBASE

const UTF8_HANGUL_LBASE "\xe1\x84\x80"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 107 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_LEND

const UTF8_HANGUL_LEND "\xe1\x84\x92"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 120 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_TBASE

const UTF8_HANGUL_TBASE "\xe1\x86\xa7"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 115 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_TEND

const UTF8_HANGUL_TEND "\xe1\x87\x82"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 128 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_VBASE

const UTF8_HANGUL_VBASE "\xe1\x85\xa1"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 111 of file UtfNormalDefines.php.

◆ UTF8_HANGUL_VEND

const UTF8_HANGUL_VEND "\xe1\x85\xb5"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 124 of file UtfNormalDefines.php.

◆ UTF8_HEAD

const UTF8_HEAD false
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 182 of file UtfNormalDefines.php.

◆ UTF8_MAX

const UTF8_MAX "\xf4\x8f\xbf\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 141 of file UtfNormalDefines.php.

◆ UTF8_OVERLONG_A

const UTF8_OVERLONG_A "\xc1\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 151 of file UtfNormalDefines.php.

◆ UTF8_OVERLONG_B

const UTF8_OVERLONG_B "\xe0\x9f\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 155 of file UtfNormalDefines.php.

◆ UTF8_OVERLONG_C

const UTF8_OVERLONG_C "\xf0\x8f\xbf\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 159 of file UtfNormalDefines.php.

◆ UTF8_REPLACEMENT

const UTF8_REPLACEMENT "\xef\xbf\xbd"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 145 of file UtfNormalDefines.php.

Referenced by MediaWikiTitleCodec\splitTitleString().

◆ UTF8_SURROGATE_FIRST

const UTF8_SURROGATE_FIRST "\xed\xa0\x80"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 133 of file UtfNormalDefines.php.

◆ UTF8_SURROGATE_LAST

const UTF8_SURROGATE_LAST "\xed\xbf\xbf"
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 137 of file UtfNormalDefines.php.

◆ UTF8_TAIL

const UTF8_TAIL true
Deprecated:
since 1.25, use UtfNormal\Constants instead

Definition at line 186 of file UtfNormalDefines.php.