Quotation marks missing when outputted to HTML?

Associate
Joined
3 Jun 2007
Posts
34
Hey folks,

I've got single & double quotation marks stored in my database and when I output them into HTML they all bring up a (?) in both Safari and Firefox :confused:

I've tried putting meta data in to say what the content type is, but that isn't working, i'm thinking it might be something else?

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I'm using php to output the text, and have converted it using the htmlspecialchars function in order to change it all to entities, but this doesn't work either :confused:

Is there something else I should be doing?

Thanks,

Steve.
 
Hi again ... still having trouble with this i'm afraid.

If i manually write in echo 'quote /" test' it works fine, but what i want to do is write out from a database, so i somehow need to replace " with /" before it gets echoed.

I thought of doing a replace, but can't seem to get it working?
 
Back
Top Bottom