diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-08 01:57:10 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-08 01:57:10 +1100 |
| commit | ab4361d5f34ac329765b52c44c1130855c64cb17 (patch) | |
| tree | 0595e6aa228439cf6f8b5f2b320f59b84beff26d /inc/functions.php | |
| parent | 7d61dcc4142c78ea21efb778cb6a22bb7b209ce5 (diff) | |
fixed encoding error for extended ASCII characters
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 6b3e235b..f1c233cf 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1477,7 +1477,7 @@ } function utf8tohtml($utf8) { - return mb_encode_numericentity(htmlspecialchars($utf8, ENT_NOQUOTES, 'UTF-8'), Array(0xff, 0xffff, 0, 0xffff), 'UTF-8'); + return mb_encode_numericentity(htmlspecialchars($utf8, ENT_NOQUOTES, 'UTF-8'), Array(0x80, 0xffff, 0, 0xffff), 'UTF-8'); } function buildThread($id, $return=false, $mod=false) { |
