By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

Encoding Problem

P: n/a
Aby
Hi!

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?

Thx!
Feb 21 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/
Feb 21 '07 #2

P: n/a
Aby
Thx so much
Feb 21 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.