UTF-8 characters not displaying in IE6

Dear Sirs,

I have an issue in displaying UTF-8 characters in Internet explorer 6.

I set up my all jsp pages encoding as UTF-8.

Any language characters(like chinese,tamil etc) perfectly dispaying in firebox browser.

But in internet explorer, the characters are not displaying.it displays like ?! ..

Could any body help me out?

Thanks

mulaimaran

[394 byte] By [mullaimarana] at [2007-11-27 3:25:16]
# 1
The answer can be as simple as making sure that the jsp sends out the UTF-8 BOM (hex: EF BB BF) before the HTML tag.;)V.V.
viravana at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...
# 2

Thanks Viravan,

But, I have added this line in my jsp before html tag.

<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>

After html tag,i added this meta tag.

<META http-equiv="Content-Type" content="text/html;charset=UTF-8">

So, the UTF-8 encoding is capable to show different language characters in firebox browser.

But In Internet Explorer 6 other language characters not displaying..

> jsp sends out the UTF-8 BOM (hex: EF BB BF) before

> the HTML tag.

I cant understand this line.I m new one to java.

So ,please help me out.

Thanks

mullaimaran

mullaimarana at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...
# 3

IE seems to ignore the utf-8 meta tag, it behaves correctly when it receive an actual utf-8 page. An actual utf-8 page has a three-bytes marker at the beginning of the file. See if you can send IE a page that begins with 0xEE 0xBB 0xBF.

The following is a small sample page in Chinese:

<HTML>

萧应勇

</HTML>

Copy and paste it into Microsoft WordPad, save it specifically as a UTF-8 text file name test.htm and see if it's displayed correctly in IE.If you edit the test.htm file, you'll see the UTF-8 BOM signature at the beginning of the file.

V.V.

viravana at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...
# 4
I don't think this is correct. I have never had BOMs in any of my JSP/HTML pages, and they display correctly in both IE and Firefox. IE does not ignore the Meta tag.
one_danea at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...
# 5

perhaps not, but try these link and see for yourself

this link works:

http://vvanic.home.insightbb.com/test1-utf8.htm

this link requires you to manually change the encoding:

http://vvanic.home.insightbb.com/test2-utf8.htm

in this case, my free webspace's server simply refuses to serve utf-8 pages and BOM hack works just fine.

;)

V.V.

viravana at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...
# 6
Your code seems alright, but well, maybe to a little difference from what I'm doing.I use utf-8 instead of UTF-8 in my jsp and I've never had problem.Try this and tell me if that helps.
horiniusa at 2007-7-12 8:28:03 > top of Java-index,Desktop,I18N...