You are here: Re: php script encoding « PHP Programming Language « IT news, forums, messages
Re: php script encoding

Posted by feelinglucky on 11/12/06 01:20

"Schups@gmail.com 写道:
"
> Hi everyone,
> this is my first "topic" on Google Groups.
>
> I'm looking for a solution for 4 days, without results.
>
> So... my apache is serving pages in UTF-8 but my php scripts are writed
> (I'm speaking about strings) in ISO-8859-1.
>
> How can I say at apache how to interpret my scripts in a different
> charset?
>
> I don't want to change every "è" with "è"
> I think that it should be a simple configuration in the .conf or in the
> .ini but... nothig found about.
> Help

and you can set apache like this:

AddDefaultCharset "ISO-8859-1"

add this line into your http.conf file.

 

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

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