Index: trunk/phase3/includes/normal/UtfNormal.php |
— | — | @@ -66,21 +66,21 @@ |
67 | 67 | define( 'UNICODE_REPLACEMENT', 0xfffd ); |
68 | 68 | |
69 | 69 | |
70 | | -define( 'UTF8_HANGUL_FIRST', codepointToUtf8( UNICODE_HANGUL_FIRST ) ); |
71 | | -define( 'UTF8_HANGUL_LAST', codepointToUtf8( UNICODE_HANGUL_LAST ) ); |
| 70 | +define( 'UTF8_HANGUL_FIRST', "\xea\xb0\x80" /*codepointToUtf8( UNICODE_HANGUL_FIRST )*/ ); |
| 71 | +define( 'UTF8_HANGUL_LAST', "\xed\x9e\xa3" /*codepointToUtf8( UNICODE_HANGUL_LAST )*/ ); |
72 | 72 | |
73 | | -define( 'UTF8_HANGUL_LBASE', codepointToUtf8( UNICODE_HANGUL_LBASE ) ); |
74 | | -define( 'UTF8_HANGUL_VBASE', codepointToUtf8( UNICODE_HANGUL_VBASE ) ); |
75 | | -define( 'UTF8_HANGUL_TBASE', codepointToUtf8( UNICODE_HANGUL_TBASE ) ); |
| 73 | +define( 'UTF8_HANGUL_LBASE', "\xe1\x84\x80" /*codepointToUtf8( UNICODE_HANGUL_LBASE )*/ ); |
| 74 | +define( 'UTF8_HANGUL_VBASE', "\xe1\x85\xa1" /*codepointToUtf8( UNICODE_HANGUL_VBASE )*/ ); |
| 75 | +define( 'UTF8_HANGUL_TBASE', "\xe1\x86\xa7" /*codepointToUtf8( UNICODE_HANGUL_TBASE )*/ ); |
76 | 76 | |
77 | | -define( 'UTF8_HANGUL_LEND', codepointToUtf8( UNICODE_HANGUL_LEND ) ); |
78 | | -define( 'UTF8_HANGUL_VEND', codepointToUtf8( UNICODE_HANGUL_VEND ) ); |
79 | | -define( 'UTF8_HANGUL_TEND', codepointToUtf8( UNICODE_HANGUL_TEND ) ); |
| 77 | +define( 'UTF8_HANGUL_LEND', "\xe1\x84\x92" /*codepointToUtf8( UNICODE_HANGUL_LEND )*/ ); |
| 78 | +define( 'UTF8_HANGUL_VEND', "\xe1\x85\xb5" /*codepointToUtf8( UNICODE_HANGUL_VEND )*/ ); |
| 79 | +define( 'UTF8_HANGUL_TEND', "\xe1\x87\x82" /*codepointToUtf8( UNICODE_HANGUL_TEND )*/ ); |
80 | 80 | |
81 | | -define( 'UTF8_SURROGATE_FIRST', codepointToUtf8( UNICODE_SURROGATE_FIRST ) ); |
82 | | -define( 'UTF8_SURROGATE_LAST', codepointToUtf8( UNICODE_SURROGATE_LAST ) ); |
83 | | -define( 'UTF8_MAX', codepointToUtf8( UNICODE_MAX ) ); |
84 | | -define( 'UTF8_REPLACEMENT', codepointToUtf8( UNICODE_REPLACEMENT ) ); |
| 81 | +define( 'UTF8_SURROGATE_FIRST', "\xed\xa0\x80" /*codepointToUtf8( UNICODE_SURROGATE_FIRST )*/ ); |
| 82 | +define( 'UTF8_SURROGATE_LAST', "\xed\xbf\xbf" /*codepointToUtf8( UNICODE_SURROGATE_LAST )*/ ); |
| 83 | +define( 'UTF8_MAX', "\xf4\x8f\xbf\xbf" /*codepointToUtf8( UNICODE_MAX )*/ ); |
| 84 | +define( 'UTF8_REPLACEMENT', "\xef\xbf\xbd" /*codepointToUtf8( UNICODE_REPLACEMENT )*/ ); |
85 | 85 | #define( 'UTF8_REPLACEMENT', '!' ); |
86 | 86 | |
87 | 87 | define( 'UTF8_OVERLONG_A', "\xc1\xbf" ); |
— | — | @@ -88,10 +88,10 @@ |
89 | 89 | define( 'UTF8_OVERLONG_C', "\xf0\x8f\xbf\xbf" ); |
90 | 90 | |
91 | 91 | # These two ranges are illegal |
92 | | -define( 'UTF8_FDD0', codepointToUtf8( 0xfdd0 ) ); |
93 | | -define( 'UTF8_FDEF', codepointToUtf8( 0xfdef ) ); |
94 | | -define( 'UTF8_FFFE', codepointToUtf8( 0xfffe ) ); |
95 | | -define( 'UTF8_FFFF', codepointToUtf8( 0xffff ) ); |
| 92 | +define( 'UTF8_FDD0', "\xef\xb7\x90" /*codepointToUtf8( 0xfdd0 )*/ ); |
| 93 | +define( 'UTF8_FDEF', "\xef\xb7\xaf" /*codepointToUtf8( 0xfdef )*/ ); |
| 94 | +define( 'UTF8_FFFE', "\xef\xbf\xbe" /*codepointToUtf8( 0xfffe )*/ ); |
| 95 | +define( 'UTF8_FFFF', "\xef\xbf\xbf" /*codepointToUtf8( 0xffff )*/ ); |
96 | 96 | |
97 | 97 | define( 'UTF8_HEAD', false ); |
98 | 98 | define( 'UTF8_TAIL', true ); |