mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
;-)
git-svn-id: file:///svn/phpbb/trunk@6613 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
33bcb91d05
commit
f782890332
1 changed files with 0 additions and 6 deletions
|
@ -317,9 +317,6 @@ class utf_normalizer
|
||||||
{
|
{
|
||||||
// Current char isn't well-formed or legal: either one or several trailing bytes are missing, or the Unicode char
|
// Current char isn't well-formed or legal: either one or several trailing bytes are missing, or the Unicode char
|
||||||
// has been encoded in a five- or six- byte sequence
|
// has been encoded in a five- or six- byte sequence
|
||||||
/**
|
|
||||||
* @todo $trailing_bytes always == 5?
|
|
||||||
*/
|
|
||||||
if ($utf_char[0] >= "\xF8")
|
if ($utf_char[0] >= "\xF8")
|
||||||
{
|
{
|
||||||
if ($utf_char[0] < "\xFC")
|
if ($utf_char[0] < "\xFC")
|
||||||
|
@ -411,9 +408,6 @@ class utf_normalizer
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Five- and six- byte sequences do not need being checked for here anymore
|
// Five- and six- byte sequences do not need being checked for here anymore
|
||||||
/**
|
|
||||||
* @todo $trailing_bytes always == 5?
|
|
||||||
*/
|
|
||||||
if ($utf_char > UTF8_MAX)
|
if ($utf_char > UTF8_MAX)
|
||||||
{
|
{
|
||||||
// Out of the Unicode range
|
// Out of the Unicode range
|
||||||
|
|
Loading…
Add table
Reference in a new issue