Page 1 of 1

Printing out Foreign Characters

Posted: Fri Jul 17, 2009 1:01 pm
by Delpheno
I want to print this word out hæmorrhage, however there's a special character inside.

When it's shown on the webpage, it displays this: �. I'm not sure if you can see it, but it's just a box with four letters inside, I think FFFD. How can I get it to display the character correctly? Is there a function, or is there something else I need to do?

I'm using FireFox 3.0.11 now.

Thank you.

Re: Printing out Foreign Characters

Posted: Fri Jul 17, 2009 3:22 pm
by Darhazer
Just make sure that everything is in UTF-8 and you are outputting in UTF-8 as well (setting the Content-type header)

Re: Printing out Foreign Characters

Posted: Fri Jul 17, 2009 3:38 pm
by DaiLaughing
...including php.ini