Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Encoding Problem
February 21, 2007, 3:21 pm
rate this thread
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?
Re: Encoding Problem
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
- » -> Updating a page when check box clicked (using Ajax)? <-
- — Previous thread in » PHP Scripting Forum