aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_tools.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-08-16 12:19:26 +0000
committerNils Adermann <naderman@naderman.de>2007-08-16 12:19:26 +0000
commit487ca9229997f0bd1c5ed228cf7dc3a033fce329 (patch)
tree91c74e3ffb1e41695812718e34bbe896d56ac563 /phpBB/includes/utf/utf_tools.php
parentc9dcf849b9d196f27131c21b79ebf1793f3c1cda (diff)
downloadforums-487ca9229997f0bd1c5ed228cf7dc3a033fce329.tar
forums-487ca9229997f0bd1c5ed228cf7dc3a033fce329.tar.gz
forums-487ca9229997f0bd1c5ed228cf7dc3a033fce329.tar.bz2
forums-487ca9229997f0bd1c5ed228cf7dc3a033fce329.tar.xz
forums-487ca9229997f0bd1c5ed228cf7dc3a033fce329.zip
- added information about Unicode to coding guidelines
- two little changes git-svn-id: file:///svn/phpbb/trunk@8035 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/utf/utf_tools.php')
-rw-r--r--phpBB/includes/utf/utf_tools.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index f8156fb8d2..a3499062fe 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -908,8 +908,8 @@ function utf8_recode($string, $encoding)
}
// Trigger an error?! Fow now just give bad data :-(
- //trigger_error('Unknown encoding: ' . $encoding, E_USER_ERROR);
- return $string;
+ trigger_error('Unknown encoding: ' . $encoding, E_USER_ERROR);
+ //return $string; // use utf_normalizer::cleanup() ?
}
/**