Encoding Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aby

    #1

    Encoding Problem

    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!


  • Willem Bogaerts

    #2
    Re: Encoding Problem

    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_mimetyp e = "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.

    Comment

    • Aby

      #3
      Re: Encoding Problem

      Thx so much


      Comment

      Working...