Forum Moderators: open

Message Too Old, No Replies

UTF-8 problem with Internet Explorer

         

tata668

1:03 am on May 25, 2005 (gmt 0)

10+ Year Member



I need to use UTF-8 on my site.

In .htaccess I have:
AddDefaultCharset UTF-8

And in each <head>:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

In general it works well but some caracteres failed to display correctly in Internet Explorer.

For example, the caractere 0xEB03. In Firefox and Opera everything is ok: But IE displays the unfamous white square. I also tried 3-4 different fonts for the font-family CSS attribute but without success.

Any suggestion to correct this problem?

[edited by: tedster at 12:51 pm (utc) on May 25, 2005]

Farix

2:41 am on May 25, 2005 (gmt 0)

10+ Year Member



I just tested this character locally using the HTML refrence code of &#60163; on Firefox and was not able to reproduce this character. Instead I get a question mark. Are you sure you are referencing a legal character?

tata668

2:55 am on May 25, 2005 (gmt 0)

10+ Year Member



The best way to test it is to go there:
<SNIP>

And then please click "Greek".

In Firefox and Opera, every caracteres at the bottom are ok except the last 5.

In IE, almost half of the caracteres are replaced by a white square.

[edited by: BlobFisk at 11:23 am (utc) on May 25, 2005]
[edit reason] No URLs please! See TOS [webmasterworld.com] [/edit]

rjohara

3:16 am on May 25, 2005 (gmt 0)

10+ Year Member



Is there a reason you have listed the numeric code in reverse order?

If I'm reading this correctly, the numeric reference for your character should be: & #x03EB; (delete the space after '&')

This is a very obscure Coptic letter. I wouldn't be surprised if it is a font problem of some kind. (Are you really typing Coptic?)

tata668

2:00 pm on May 25, 2005 (gmt 0)

10+ Year Member



In fact, I have no idea what this caractere really is! But I'm currently testing the UTf-8 encoding on my site and I found this one surfing the web searching for "special caracteres".

I understand the TOS disallow me to post URL. But I thought reference sites were allowed!

Here's a way to test the caractere: [google.com...]


Is there a reason you have listed the numeric code in reverse order?
If I'm reading this correctly, the numeric reference for your character should be: & #x03EB; (delete the space after '&')

Yes, this is the caractere I'm talking of. I didn't know I listed its hexa value in reverse order. I just cut & pasted it from Firefox to UltraEdit and clicked "show hex". I'm not that good with encoding!


This is a very obscure Coptic letter. I wouldn't be surprised if it is a font problem of some kind.

Perhaps you are right. But then, which font should I use to ensure the maximum caracteres to be properly displayed to the users? Is there a font with which this caractere works in IE?

rjohara

9:13 pm on May 25, 2005 (gmt 0)

10+ Year Member



Alan Wood has some of the best Unicode resources on the web. If you search for "Alan Wood unicode" you'll find it. He has test pages for all code blocks, along with info about available fonts.

tata668

9:20 pm on May 25, 2005 (gmt 0)

10+ Year Member




Alan Wood has some of the best Unicode resources on the web. If you search for "Alan Wood unicode" you'll find it. He has test pages for all code blocks, along with info about available fonts.

Wow, thanks. Looks really interesting.