UTF-8 compatible... for good.
Posted in: bug smashing, general | Monday, January 08, 2007 6:50 PM
Some of you reported not being able to display Eastern characters in your blogs -- we finally nailed the source of all problems. Here it is:
Even though all of our pages include the following code to ensure all Eastern characters as well as accents are correctly displayed
< meta content="text/html; charset=utf-8" http-equiv="Content-Type" / >
it turns out some servers ignore this line and so all Eastern characters and accents look messed up. If this is your case, all you have to do is simply include the folowing line at the top of the page
< ?php header('Content-Type: text/html; charset=utf-8'); ?>
Thanks to all of you who pointed out this problem and please let us know how it worked out!
|