Hello guys,
Thanks for this great library. As my dev computer is in PHP.5.4 and my other servers in PHP 5.3, there are many changes about UTF-8. I try to reduce the amount of modified code to handle this the simple way : replace htmlentities() call to a private static method with force the UTF-8 encoding.
private static function _htmlentities($input) {
return htmlentities($input, ENT_NOQUOTES | ENT_HTML5, 'UTF-8');
}
Download all the patch here:
http://dl.dropbox.com/u/62007491/diff-utf8-finediff.patch
Thanks for considering this patch. Hope this helps.
Hello guys,
Thanks for this great library. As my dev computer is in PHP.5.4 and my other servers in PHP 5.3, there are many changes about UTF-8. I try to reduce the amount of modified code to handle this the simple way : replace htmlentities() call to a private static method with force the UTF-8 encoding.
private static function _htmlentities($input) {
return htmlentities($input, ENT_NOQUOTES | ENT_HTML5, 'UTF-8');
}
Download all the patch here:
http://dl.dropbox.com/u/62007491/diff-utf8-finediff.patch
Thanks for considering this patch. Hope this helps.