aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/utf')
-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() ?
}
/**