jiangfeng / phpquery

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

Special characters not read properly. #176

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a HTML page with with textnodes containing special chars like Æ
2. Find the nodes using pq('.cardItem');
3. Get the contents of the node with the name.

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

I am going over a document with names of cards, the expected name is for 
example:
Æther Mutation
Yet the value I get is:
Æther Mutation

IS there any way to get the right characters, or the escape characters instead 
of this?

Original issue reported on code.google.com by Ophych...@gmail.com on 27 Feb 2011 at 1:11

GoogleCodeExporter commented 9 years ago
The same happens to me too.. Agnès is read by pq as Agnès

Original comment by dee...@gmail.com on 7 May 2012 at 9:53

GoogleCodeExporter commented 9 years ago
All HTML special characters seem to be broken when parsed via phpQuery.

™, ©, • all failed after processing 

Original comment by evad.ba...@gmail.com on 18 Jun 2012 at 5:06

GoogleCodeExporter commented 9 years ago
Is there any way to solve this issue ? Even i am getting weird characters like 
�

Original comment by manoj.ku...@gmail.com on 31 Jan 2013 at 9:03