aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2009-12-23 01:31:19 +0000
committerNils Adermann <naderman@naderman.de>2009-12-23 01:31:19 +0000
commit42c5be5dacac486cb4bfc3d62a97f84f0bc92468 (patch)
tree2167d766420fbd7ac414267b9406ce559952c884 /phpBB/develop
parentcc43a909966e697a7a710c6efade1bcffc24db2e (diff)
downloadforums-42c5be5dacac486cb4bfc3d62a97f84f0bc92468.tar
forums-42c5be5dacac486cb4bfc3d62a97f84f0bc92468.tar.gz
forums-42c5be5dacac486cb4bfc3d62a97f84f0bc92468.tar.bz2
forums-42c5be5dacac486cb4bfc3d62a97f84f0bc92468.tar.xz
forums-42c5be5dacac486cb4bfc3d62a97f84f0bc92468.zip
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
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/generate_utf_confusables.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/develop/generate_utf_confusables.php b/phpBB/develop/generate_utf_confusables.php
index f79471afc6..0ffa9720c9 100644
--- a/phpBB/develop/generate_utf_confusables.php
+++ b/phpBB/develop/generate_utf_confusables.php
@@ -114,10 +114,14 @@ $uniarray = array(
$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)
{
$temp_hold = implode(array_map('utf8_chr', array_map('hexdec', explode(' ', trim($value[2])))));
-
+
if (isset($copy[utf8_chr(hexdec((string)$value[1]))]))
{
$num = '';