Passing chinese characters

M

MrMoMo

How do I Pass chinese characters, charset GB2312 and BIG5, from Form to
SQL using asp?

My field in SQL is already set to nvarchar.

Any help is much appreciated.

Thanks.
 
A

Anthony Jones

MrMoMo said:
How do I Pass chinese characters, charset GB2312 and BIG5, from Form to
SQL using asp?

My field in SQL is already set to nvarchar.

Any help is much appreciated.

Thanks.

The page to which the form posts needs to have it's codepage set
appropriately so:-

<%@ codepage="950" %>
<%@ codepage="936" %>

Also set the form to use method="POST"

Now the unicode values retrieved for the Form values will be encoded
correctly.

Anthony.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top