Forum Moderators: open

Message Too Old, No Replies

Meta tages, japanese encoding question

Encoding "autoselect" to be viewd by japanese

         

yopiyop

9:38 am on Nov 21, 2002 (gmt 0)

10+ Year Member



Hello all, I added

<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">

in the tags of my html page which contain SHIFT JIS japanese characters

Is it enough for japanese to view correctly my page?

sometime in IE6, if my Encoding option is selected to "auto select" it does not display the japanese characters correctly.

I notice that on yahoo.co.jp, it is automatic and I can't find what is the problem.

thanks for your help!
yopiyop

bill

6:06 am on Nov 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



yopiyop this question pops up from time to time. There are a lot of threads out there if you search for "Japanese encoding". I would suggest you try using all of the meta tags I mention in this thread [webmasterworld.com]. Also, we had some good conversation about Japanese character sets and encoding in this thread [webmasterworld.com].

Technically the auto select setting should pick up what you have. Unfortunately sometimes you have to give the browsers a push...try the extra tags I suggested and see if they don't work for you. Regardless, the extra tags won't harm your page.

yopiyop

7:13 am on Nov 26, 2002 (gmt 0)

10+ Year Member



Thanks a lot Bill

I will try your suggestion (<meta http-equiv="content-language" content="jp">)

yopiyop

yopiyop

7:24 am on Nov 26, 2002 (gmt 0)

10+ Year Member



I found out something:
to make "Autoselect" character set in IE work properly the ASP code you use has to be AFTER Shift_JIS metatags especially if the amount of code is huge.

from

<%ASP code%>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">

put it as

<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<%ASP code%>

and it works

bill

7:36 am on Nov 26, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Very interesting observation yopiyop. I don't have any Japanese sites in ASP so I can't test this. Has anyone else run into this?

yopiyop

7:56 am on Nov 26, 2002 (gmt 0)

10+ Year Member



Thanks Bill

If you have really important ASP code, the time to find the proper character in the Html maybe too long for the browser, that's why it did not display the japanese characters properly.

Now "autoselect" works perfectly.

super good :)

yopiyop