You are here: Re: Encoding Problem « PHP Programming Language « IT news, forums, messages
Re: Encoding Problem

Posted by Willem Bogaerts on 02/21/07 15:36

> I'm changing my html site into php but I've a problem.
> My site contains japanese characters and them were showed perfectly on html.
> Firefox and IE showed the japanese chars without change the encoding, but
> when I've transformed my site into php I can see them correctly, I must
> change the encoding in the navigator every time I refresh the site.
> How can I set japanese lenguage as default with php?

In php.ini, you see something like the following:

; PHP's built-in default is text/html
default_mimetype = "text/html"
default_charset = "utf-8"

This is where you can set the encoding. The combination of these two
settings cause a header to be sent:
Content-type: text/html; charset=utf-8

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

 

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

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