Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#37 Special Characters

open
nobody
None
5
2006-10-10
2006-10-10
Victor Epand
No

When reading in web pages with Snoopy V1.2, special
characters like this: "—","’" are being returned like
this: "â€"","’"

Why?

Victor

Discussion

  • Logged In: NO

    Victor --
    Look at the document encoding. You need to make sure your document is output at UTF-8.

     
  • Victor Epand
    Victor Epand
    2007-01-12

    Logged In: YES
    user_id=1617376
    Originator: YES

    How do I make sure that my document is output at UTF-8? You mean all I need to do is include this tag in my page that displays the Snoopy data?:
    <meta http-equiv="content-type" content="text/html; charset=utf-8">

    Here is the tag I am currently using:
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

    What difference will that make? Will UTF-8 cause problems with some browsers? Can I convert the data and display it as iso-8859-1?