G
Guest
I try to write a ASP.Net web application which will post data to other
websites
I'm use NameValueCollection class add(...) method and WebClient class
uploadvalue(...) method to post data to other website. It works fine if
the data is in English, however, when it contain characters in other
languages (such as Chinese big5), it will display some un-readable
characters.
In web.config file I set encoding to "big5"
<globalization fileEncoding="big5" requestEncoding="big5"
responseEncoding="big5" />
In aspx page html I set codePage to "950"
<%@ Page Language="vb" validateRequest="false" AutoEventWireup="false"
Codebehind="message_post.aspx.vb" Inherits="message_post.WebForm1"
codePage="950" %>
If anyone knows how to solve this problem, please let me know .. Thanks ..
websites
I'm use NameValueCollection class add(...) method and WebClient class
uploadvalue(...) method to post data to other website. It works fine if
the data is in English, however, when it contain characters in other
languages (such as Chinese big5), it will display some un-readable
characters.
In web.config file I set encoding to "big5"
<globalization fileEncoding="big5" requestEncoding="big5"
responseEncoding="big5" />
In aspx page html I set codePage to "950"
<%@ Page Language="vb" validateRequest="false" AutoEventWireup="false"
Codebehind="message_post.aspx.vb" Inherits="message_post.WebForm1"
codePage="950" %>
If anyone knows how to solve this problem, please let me know .. Thanks ..