mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-12 18:45:20 +02:00
[ticket/9608] Revert changes to normalizer
They were breaking the tests. PHPBB3-9608
This commit is contained in:
parent
ec4962d84e
commit
11d20e0ec4
@ -507,7 +507,7 @@ class utf_normalizer
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
$_utf_len = $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
|
$_utf_len =& $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
|
||||||
|
|
||||||
if (isset($_utf_len))
|
if (isset($_utf_len))
|
||||||
{
|
{
|
||||||
@ -563,7 +563,7 @@ class utf_normalizer
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
$c = $decomp_map[$utf_char][$_pos];
|
$c = $decomp_map[$utf_char][$_pos];
|
||||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||||
|
|
||||||
if (isset($_utf_len))
|
if (isset($_utf_len))
|
||||||
{
|
{
|
||||||
@ -636,7 +636,7 @@ class utf_normalizer
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
$c = $decomp_map[$utf_char][$_pos];
|
$c = $decomp_map[$utf_char][$_pos];
|
||||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||||
|
|
||||||
if (isset($_utf_len))
|
if (isset($_utf_len))
|
||||||
{
|
{
|
||||||
@ -717,7 +717,7 @@ class utf_normalizer
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
$c = $decomp_map[$utf_char][$_pos];
|
$c = $decomp_map[$utf_char][$_pos];
|
||||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||||
|
|
||||||
if (isset($_utf_len))
|
if (isset($_utf_len))
|
||||||
{
|
{
|
||||||
@ -1064,7 +1064,7 @@ class utf_normalizer
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
$c = $decomp_map[$utf_char][$_pos];
|
$c = $decomp_map[$utf_char][$_pos];
|
||||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||||
|
|
||||||
if (isset($_utf_len))
|
if (isset($_utf_len))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user