[Petal] More on entities and Â

Jean-Michel Hiver jhiver at mkdoc.com
Tue May 4 09:50:40 BST 2004


>There are two ways, and you probably should use both. First of all there's
>the header:
>
>Content-type: text/html; charset=utf-8;
>
>However, the most important this is the META tag, as it overrides the
>header settings. This will seems like scandal to purists, but that's the
>way it goes. ;-) Here's the header:
>
It is an important tag, however a lot of browsers give precedence to the 
HTTP headers. Bottom line is, you need to declare your charset in both 
your http headers and your HTML template to be on the safe side.

Cheers,
Jean-Michel.



More information about the Petal mailing list