Forum Moderators: coopster

Message Too Old, No Replies

Snoopy class outputting strange characters

         

akademik

2:01 am on Nov 12, 2007 (gmt 0)

10+ Year Member



Hello everyone,

I am using snoopy class to get data from some site but
I'm getting some wired character. Instead of printing
é it will print é etc. In header I can see that encoding
is UTF-8: Content-Type: text/html; charset=utf-8

What seems to be problem?

Receptional Andy

7:51 pm on Nov 12, 2007 (gmt 0)



It definitely sounds like an encoding problem. There's likely a mismatch between the encoding on the external site, the encoding snoopy is expecting and/or the encoding your using to output the content.

akademik

9:39 pm on Nov 12, 2007 (gmt 0)

10+ Year Member



Hello, I've just realize that my result page was iso-8859-1, not utf-8.
That was the problem. Thanks anyway for your reply...