smatin / smt2

Automatically exported from code.google.com/p/smt2
0 stars 0 forks source link

Encoding problems #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install on Russian site
2.Record
3.See wrong Encoding in Background on playback

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
2.0.2, Windows Vista Home Premium (6002, SP2), Chrome 7.0.517.44 (Same results 
on IE)

Please provide any additional information below.

Looks like Encoding is wrong in Cache dir files.

Original issue reported on code.google.com by dmitriy....@gmail.com on 19 Nov 2010 at 11:11

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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