Don't check namespace in SpecialWantedtemplates
[lhc/web/wiklou.git] / includes / libs / normal / UtfNormalDefines.php
1 <?php
2 /**
3 * Backwards-compatability constants which are now provided by the
4 * UtfNormal library. They are hardcoded here since they are needed
5 * before the composer autoloader is initialized.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 * http://www.gnu.org/copyleft/gpl.html
21 *
22 * @file
23 * @ingroup UtfNormal
24 */
25
26 /**
27 * @deprecated since 1.25, use UtfNormal\Constants instead
28 */
29 define( 'UNICODE_HANGUL_FIRST', 0xac00 );
30 /**
31 * @deprecated since 1.25, use UtfNormal\Constants instead
32 */
33 define( 'UNICODE_HANGUL_LAST', 0xd7a3 );
34
35 /**
36 * @deprecated since 1.25, use UtfNormal\Constants instead
37 */
38 define( 'UNICODE_HANGUL_LBASE', 0x1100 );
39 /**
40 * @deprecated since 1.25, use UtfNormal\Constants instead
41 */
42 define( 'UNICODE_HANGUL_VBASE', 0x1161 );
43 /**
44 * @deprecated since 1.25, use UtfNormal\Constants instead
45 */
46 define( 'UNICODE_HANGUL_TBASE', 0x11a7 );
47
48 /**
49 * @deprecated since 1.25, use UtfNormal\Constants instead
50 */
51 define( 'UNICODE_HANGUL_LCOUNT', 19 );
52 /**
53 * @deprecated since 1.25, use UtfNormal\Constants instead
54 */
55 define( 'UNICODE_HANGUL_VCOUNT', 21 );
56 /**
57 * @deprecated since 1.25, use UtfNormal\Constants instead
58 */
59 define( 'UNICODE_HANGUL_TCOUNT', 28 );
60 /**
61 * @deprecated since 1.25, use UtfNormal\Constants instead
62 */
63 define( 'UNICODE_HANGUL_NCOUNT', UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT );
64
65 /**
66 * @deprecated since 1.25, use UtfNormal\Constants instead
67 */
68 define( 'UNICODE_HANGUL_LEND', UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1 );
69 /**
70 * @deprecated since 1.25, use UtfNormal\Constants instead
71 */
72 define( 'UNICODE_HANGUL_VEND', UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1 );
73 /**
74 * @deprecated since 1.25, use UtfNormal\Constants instead
75 */
76 define( 'UNICODE_HANGUL_TEND', UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1 );
77
78 /**
79 * @deprecated since 1.25, use UtfNormal\Constants instead
80 */
81 define( 'UNICODE_SURROGATE_FIRST', 0xd800 );
82 /**
83 * @deprecated since 1.25, use UtfNormal\Constants instead
84 */
85 define( 'UNICODE_SURROGATE_LAST', 0xdfff );
86 /**
87 * @deprecated since 1.25, use UtfNormal\Constants instead
88 */
89 define( 'UNICODE_MAX', 0x10ffff );
90 /**
91 * @deprecated since 1.25, use UtfNormal\Constants instead
92 */
93 define( 'UNICODE_REPLACEMENT', 0xfffd );
94
95 /**
96 * @deprecated since 1.25, use UtfNormal\Constants instead
97 */
98 define( 'UTF8_HANGUL_FIRST', "\xea\xb0\x80" /*codepointToUtf8( UNICODE_HANGUL_FIRST )*/ );
99 /**
100 * @deprecated since 1.25, use UtfNormal\Constants instead
101 */
102 define( 'UTF8_HANGUL_LAST', "\xed\x9e\xa3" /*codepointToUtf8( UNICODE_HANGUL_LAST )*/ );
103
104 /**
105 * @deprecated since 1.25, use UtfNormal\Constants instead
106 */
107 define( 'UTF8_HANGUL_LBASE', "\xe1\x84\x80" /*codepointToUtf8( UNICODE_HANGUL_LBASE )*/ );
108 /**
109 * @deprecated since 1.25, use UtfNormal\Constants instead
110 */
111 define( 'UTF8_HANGUL_VBASE', "\xe1\x85\xa1" /*codepointToUtf8( UNICODE_HANGUL_VBASE )*/ );
112 /**
113 * @deprecated since 1.25, use UtfNormal\Constants instead
114 */
115 define( 'UTF8_HANGUL_TBASE', "\xe1\x86\xa7" /*codepointToUtf8( UNICODE_HANGUL_TBASE )*/ );
116
117 /**
118 * @deprecated since 1.25, use UtfNormal\Constants instead
119 */
120 define( 'UTF8_HANGUL_LEND', "\xe1\x84\x92" /*codepointToUtf8( UNICODE_HANGUL_LEND )*/ );
121 /**
122 * @deprecated since 1.25, use UtfNormal\Constants instead
123 */
124 define( 'UTF8_HANGUL_VEND', "\xe1\x85\xb5" /*codepointToUtf8( UNICODE_HANGUL_VEND )*/ );
125 /**
126 * @deprecated since 1.25, use UtfNormal\Constants instead
127 */
128 define( 'UTF8_HANGUL_TEND', "\xe1\x87\x82" /*codepointToUtf8( UNICODE_HANGUL_TEND )*/ );
129
130 /**
131 * @deprecated since 1.25, use UtfNormal\Constants instead
132 */
133 define( 'UTF8_SURROGATE_FIRST', "\xed\xa0\x80" /*codepointToUtf8( UNICODE_SURROGATE_FIRST )*/ );
134 /**
135 * @deprecated since 1.25, use UtfNormal\Constants instead
136 */
137 define( 'UTF8_SURROGATE_LAST', "\xed\xbf\xbf" /*codepointToUtf8( UNICODE_SURROGATE_LAST )*/ );
138 /**
139 * @deprecated since 1.25, use UtfNormal\Constants instead
140 */
141 define( 'UTF8_MAX', "\xf4\x8f\xbf\xbf" /*codepointToUtf8( UNICODE_MAX )*/ );
142 /**
143 * @deprecated since 1.25, use UtfNormal\Constants instead
144 */
145 define( 'UTF8_REPLACEMENT', "\xef\xbf\xbd" /*codepointToUtf8( UNICODE_REPLACEMENT )*/ );
146 #define( 'UTF8_REPLACEMENT', '!' );
147
148 /**
149 * @deprecated since 1.25, use UtfNormal\Constants instead
150 */
151 define( 'UTF8_OVERLONG_A', "\xc1\xbf" );
152 /**
153 * @deprecated since 1.25, use UtfNormal\Constants instead
154 */
155 define( 'UTF8_OVERLONG_B', "\xe0\x9f\xbf" );
156 /**
157 * @deprecated since 1.25, use UtfNormal\Constants instead
158 */
159 define( 'UTF8_OVERLONG_C', "\xf0\x8f\xbf\xbf" );
160
161 # These two ranges are illegal
162 /**
163 * @deprecated since 1.25, use UtfNormal\Constants instead
164 */
165 define( 'UTF8_FDD0', "\xef\xb7\x90" /*codepointToUtf8( 0xfdd0 )*/ );
166 /**
167 * @deprecated since 1.25, use UtfNormal\Constants instead
168 */
169 define( 'UTF8_FDEF', "\xef\xb7\xaf" /*codepointToUtf8( 0xfdef )*/ );
170 /**
171 * @deprecated since 1.25, use UtfNormal\Constants instead
172 */
173 define( 'UTF8_FFFE', "\xef\xbf\xbe" /*codepointToUtf8( 0xfffe )*/ );
174 /**
175 * @deprecated since 1.25, use UtfNormal\Constants instead
176 */
177 define( 'UTF8_FFFF', "\xef\xbf\xbf" /*codepointToUtf8( 0xffff )*/ );
178
179 /**
180 * @deprecated since 1.25, use UtfNormal\Constants instead
181 */
182 define( 'UTF8_HEAD', false );
183 /**
184 * @deprecated since 1.25, use UtfNormal\Constants instead
185 */
186 define( 'UTF8_TAIL', true );