Forums

This topic is locked

Charset Problem

Posted 22 Nov 2003 20:35:25
1
has voted
22 Nov 2003 20:35:25 NaiWah Lui posted:
hi

I have my ASP page charset set to GB2312, but it still show me garbage. I have to manually go to View menu, Encoding and select GB2312 to read chinese characters.

How do I have my ASP page to automatically to show chinese characters, so that i do not need to manually have to go to View menu to adjust it?

Thanks

Replies

Replied 23 Nov 2003 03:39:32
23 Nov 2003 03:39:32 Nozomi Kugita replied:
Do you have &lt; %response.Charset=" <i>charset of your choice</i>"% &gt; in your ASP page to set charset for the page? Or do you just specify charset in header?

- Noz
Replied 23 Nov 2003 04:26:40
23 Nov 2003 04:26:40 NaiWah Lui replied:
I do specify the charset=GB2312 in the header, but it didn't work. BTW, if i were to use &lt;%response.charset="GB2312"%&gt; where should i place this code?

Thanks

Replied 23 Nov 2003 05:05:46
23 Nov 2003 05:05:46 Nozomi Kugita replied:
If it's at the top, that is the first thing to be processed, so I would say to specify it at the top of the page.. Does it work?

- Noz
Replied 23 Nov 2003 05:32:56
23 Nov 2003 05:32:56 NaiWah Lui replied:
It works. Thanks so much Noz

Reply to this topic