This repository was archived by the owner on Dec 7, 2018. It is now read-only.
This repository was archived by the owner on Dec 7, 2018. It is now read-only.
UTF-8 diff patch #11
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels