Thread: Php, ISO-8859-1
View Single Post

  #2 (permalink)  
Old 12-06-2006
Erwin Moller
 
Posts: n/a
Default Re: Php, ISO-8859-1

Nico wrote:

> Dear all,
>
> I made a php page (charset: ISO-8859-1).
> When I open this page in my localhost everything is OK.
> On the contrary, if I open the page in my test web-site, I'm not able to
> see the correct types (e.g. the symbol of Euro).
> If I change the charset (from UTF-8 to ISO-8859-1) by hand in my browser
> I see all the types correctly.
> I suppose that my apache is not settled correctly.
> In the case, do you know what kind of command should I add (or change)?
> Many thanks for the help.
>
> Best,
> Nico


Hi Nico,

Just add a META-tag to your header in your document describing the
contenttype:

<META HTTP_EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

Regards,
Erwin Moller
Reply With Quote