showing asian characters

  • Thread starter Thread starter dz
  • Start date Start date
D

dz

In IE, I want to display Asian characters on English based web sites
without requiring user installing the Files for East Asian Languages.
At the Page_load of the Asian content pages, I set
Response.AppendHeader("Charset","GB2312") for Chinese. I also set the
Response.ContentEncoding = Text.Encoding.UTF8. However, the page only
shows the characters as boxes. The problem does not occur in Firefox
though. Is it required to have East Asian Languages installed on
client machines in order for them to see the proper Asian characters?
Thanks.
 
In IE, I want to display Asian characters on English based web sites
without requiring user installing the Files for East Asian Languages.
At the Page_load of the Asian content pages, I set
Response.AppendHeader("Charset","GB2312") for Chinese.  I also set the
Response.ContentEncoding = Text.Encoding.UTF8.  However, the page only
shows the characters as boxes.  The problem does not occur in Firefox
though.  Is it required to have East Asian Languages installed on
client machines in order for them to see the proper Asian characters?
Thanks.

I'm not 100% sure about this, but why don't you do Response.Charset =
"utf-8"; instead of GB2312? Also did you check whether IE did pick up
the correct encoding (UTF-8) from the server?

According to Mozilla, Firefox requires the same files for East Asian
languages

http://support.mozilla.com/de/kb/Firefox+will+not+display+East+Asian+characters
http://www.microsoft.com/globaldev/handson/user/xpintlsupp.mspx

So, if FF is able to display Chinese, but not IE (on the same box)
than it means you have already files installed and there is something
else that IE doesn't like. Usually, then IE has no support for a
language, it shows a popup (see below)

http://blog.spywareguide.com/upload/2007/03/install7exe5.jpg
 
I can read the page on my development machine. When I use another
test machine without the Files for Asian Language installed, then I
can not read the page. All Asian characters are shown as square
boxes.
 
Yes, that's exactly what I mean.

In order for a browser to be able to read Asian languages,
the OS the browser is running on must have support for Asian languages installed.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
I can read the page on my development machine. When I use another
test machine without the Files for Asian Language installed, then I
can not read the page. All Asian characters are shown as square
boxes.
 
I can read the page on my development machine.  When I use another
test machine without the Files for Asian Language installed, then I
can not read the page.  All Asian characters are shown as square
boxes.





- Show quoted text -

You wrote: "The problem does not occur in Firefox though.". Do you
mean, it works in FF on another test machine, but not in IE?
 
re:
!You wrote: "The problem does not occur in Firefox though.".
!> Do you mean, it works in FF on another test machine, but not in IE?

Both FF and IE require the installation of support for East Asian languages on the OS.

http://support.mozilla.com/en-US/kb/Firefox+will+not+display+East+Asian+characters

http://www.microsoft.com/globaldev/handson/user/xpintlsupp.mspx

If one browser displays East Asian languages, the other will, too.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
I can read the page on my development machine. When I use another
test machine without the Files for Asian Language installed, then I
can not read the page. All Asian characters are shown as square
boxes.





- Show quoted text -

You wrote: "The problem does not occur in Firefox though.". Do you
mean, it works in FF on another test machine, but not in IE?
 
Yes. I deliberately removed the Asian Language support files. Firefox
still shows the page correctly, but not IE.
 
Yes. I deliberately removed the Asian Language support files. Firefox
still shows the page correctly, but not IE.

Indeed, I have the same on XP. Note, Vista supports East Asian
characters without any additional installations.

ÄãºÃÊÀ½ç
 
Back
Top