awci / phpquery

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

Meta encoding breaks document loading #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If encoding is incorrect, whole document breaks up, ex:
<meta http-equiv="content-type" content="text/html; charset="$encoding" />

Encoding should be checked before loading the document and fixed if needed
OR checked and fixed if loading of document fails.

Original issue reported on code.google.com by tobiasz....@gmail.com on 3 Apr 2009 at 10:11