mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-16 19:08:38 +01:00
fixed encoding error for extended ASCII characters
This commit is contained in:
parent
d9a2c76679
commit
324c7cd906
@ -1477,7 +1477,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function utf8tohtml($utf8) {
|
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) {
|
function buildThread($id, $return=false, $mod=false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user