Reply to Re: [PHP] [HAB] Force Browsers to encode in utf8

Your name:

Reply:


Posted by Rasmus Lerdorf on 01/13/05 23:22

On Thu, 13 Jan 2005, OOzy Pal wrote:
> My html templates are encoded using utf-8. When the
> browser reads the files as .html it encodes it fine
> and my characters looks fine. However, when php reads
> the files and sends them to the browser the files
> looks ugly and unreadable. How can I force the broswer
> to encode the pages in utf-8.

Your terminology is a bit off, but you can solve your problem by adding
this to your php.inie file:

default_charset="utf-8"

-Rasmus

[Back to original 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

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