You are here: Re: Php, ISO-8859-1 « PHP Programming Language « IT news, forums, messages
Re: Php, ISO-8859-1

Posted by Nico on 12/06/06 15:29

In article <4576bf1c$0$325$e4fe514c@news.xs4all.nl>,
Erwin Moller
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote:

> 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

Thanks for the suggestion. But I've already done this operation.
The problem is the following. All my web-site is done with UTF-8 and
Apache has UTF-8 defined as default. This new pages are done with
ISO-8859-1 code (now it's quite difficult to explain the reasons). So,
if I open the ISO pages, I'm not able to see correctly the types because
Apache says to my browser to open all the pages as UTF-8. Then, I've to
change manually the code on my browser. I don't know if it's possible to
add some line in my httpd conf, useful to solve this problem. Can you
help me please? Many thanks.

Best,
Nico

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация