mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Just a little reminder for when we decide to update the confusables one day
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10365 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -114,10 +114,14 @@ $uniarray = array(
|
|||||||
|
|
||||||
$copy = $uniarray;
|
$copy = $uniarray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @todo we need to check that the $uniarray does not reverse any of the mappings defined in the unicode definition
|
||||||
|
*/
|
||||||
|
|
||||||
foreach ($array as $value)
|
foreach ($array as $value)
|
||||||
{
|
{
|
||||||
$temp_hold = implode(array_map('utf8_chr', array_map('hexdec', explode(' ', trim($value[2])))));
|
$temp_hold = implode(array_map('utf8_chr', array_map('hexdec', explode(' ', trim($value[2])))));
|
||||||
|
|
||||||
if (isset($copy[utf8_chr(hexdec((string)$value[1]))]))
|
if (isset($copy[utf8_chr(hexdec((string)$value[1]))]))
|
||||||
{
|
{
|
||||||
$num = '';
|
$num = '';
|
||||||
|
Reference in New Issue
Block a user