Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Japanese Characters Not Display in IE6.0

Japanese Characters Not Display in IE6.0

Japanese Characters Not Display in IE6.0

I have a data source in XML file.  I display data from that XML file on a HTML page.  I used Japascript to call a server-side PHP method to achieve this.  It works fine until it comes into Japanese characters.  When there are Japanese characters, they would not be displayed properly on Internet Explorer by showing something as below:
           Here is å·?å?£ Japanese string
In the HTML page, I added the META within header as:
     <meta http-equiv="Content-type" content="text/html;charset=utf-8">

I coped the Japanese characters from the web page and saved it in a text file in ascii format.  I can see the Japanese characters properly.

I also tried to read and display data on a PHP page.  It works fine too.

My IE works fine if I go to a Japanese web site -- all Japanese characters are displayed correctly.

I don't understand why my IE can go to an outside Japanese site, but can not display Japanese chars from my own server.  By the way, the web server is Apache httpd web server running on Solaris.  The client is Windows XP.

Any idea on this?

Thanks in advance.

RE: Japanese Characters Not Display in IE6.0

You cannot simply add a meta tag with character set definition and hope that does it:
If you set the HTML to UTF-8 (attention: not utf-8, capitalisation is important!), then the HTML file must also be UTF-8 encoded!
You may try two things:
a) Open Word. Go to options->general You could open the HTML in OO writer and then save as "encoded text", encoding UTF-8. Then the characters are also encoded UTF-8.

b) Leave the HTML text encoded as it is, and use a Japanese character instead of UTF-8, e.g.
or ISO 2022

Hope that helps.


Speak out against Human Rights violations in China/Tibet

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close