|
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]
|