ASP Response.CodePage=0 needed for UTF8
Posted by: Kit Kit
Date: September 10, 2006 01:06AM

Hi,

I am using english version of WinXP.

I tried to connect MySQL to display CJK UTF8 character.

<%@ Language="VBScript" Codepage=65001 %>
<%
Option Explicit
Response.Buffer = True
'Response.CodePage = 65001
Response.CodePage = 0
'Response.CharSet = "utf-8"
%>

Why do we need to set the Response.CodePage = 0, instead of 65001? 0 is for ANSI.
If I set it to 65001, weird character will show up.

The response.Charset seems doesn't play any role.

The other question is, I cann't view the data in CJK in the command prompt. Is there any view to read CJK in command prompt?

Thanks for answering my question.

Options: ReplyQuote


Subject
Written By
Posted
ASP Response.CodePage=0 needed for UTF8
September 10, 2006 01:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.