Closed GoogleCodeExporter closed 9 years ago
I found it out, looks like it is PHP bug, and it is fixed in 5.3.3
http://bugs.php.net/48983
Bug #48983 DomDocument : saveHTMLFile wrong charset
Original comment by dmitriy....@gmail.com
on 20 Nov 2010 at 9:56
PHP's saveHTMLFile function should write the file in utf-8, as the content is
explicitly encoded in that charset.
I have verified that caching pages with Spanish characters works fine, as long
as the pages include the meta tag <meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">.
I'm closing the issue. If you can verify that in PHP >= 5.3.3 cache HTML files
are properly saved, please post you comments here, and let others be notified.
Original comment by luis.lei...@gmail.com
on 30 Mar 2011 at 8:30
Original issue reported on code.google.com by
dmitriy....@gmail.com
on 19 Nov 2010 at 11:11