mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
yet another oops...
git-svn-id: file:///svn/phpbb/trunk@6370 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -394,7 +394,7 @@ $UTF8_LOWER_TO_UPPER = array(
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($offset + $length) > $strlen)
|
if (($offset + $length) > $strlen)
|
||||||
{
|
{
|
||||||
$length = '*';
|
$length = '*';
|
||||||
}
|
}
|
||||||
@@ -611,7 +611,7 @@ function utf8_encode_ncr($text)
|
|||||||
*/
|
*/
|
||||||
function utf8_encode_ncr_callback($m)
|
function utf8_encode_ncr_callback($m)
|
||||||
{
|
{
|
||||||
return utf8_ord($m[0]);
|
return '&#' . utf8_ord($m[0]) . ';';
|
||||||
}
|
}
|
||||||
|
|
||||||
function utf8_ord($chr)
|
function utf8_ord($chr)
|
||||||
|
Reference in New Issue
Block a user