Yes.
A Dump one .

thanks for lighten me up .

I was confusingby myself .

On Wed, 19 Feb 2003 07:43:17 -0500, Bailey, Mark <[EMAIL PROTECTED]>
wrote:

>This may be a dumb questions but did you try Server.URLEncode("... Your
>Big5 link ...") ?
>
>> -----Original Message-----
>> From: Moderated discussion of advanced .NET topics.
>> [mailto:[EMAIL PROTECTED]] On Behalf Of Polo Lee
>> Sent: Wednesday, February 19, 2003 5:07 AM
>> To: [EMAIL PROTECTED]
>> Subject: [ADVANCED-DOTNET] Encoding Question about
>> HttpRequest with Query String
>>
>>
>> Dear Friends.
>>
>> Here are the story .
>> Say .
>> I had a old ASP site like "http://1.2.3.4/1.asp?Action=XX";
>> and it taks the Query string to enable some functions then
>> return Data.
>>
>> But now the problem comes.
>> about the Action's value , It take Big5 data as input
>> paramater. like "http://1.2.3.4/1.asp?Action=確認";
>>
>> SO when I try to use the HttpWebRequest to access the site.
>> HttpWebRequest login = (HttpWebRequest)HttpWebRequest.Create
>> ("http://1.2.3.4/1.asp?Action=確認";);
>>
>> It can't never work .
>> I use the Ethereal Tools to trace the HTTP package I had sent
>> . I fould that Big5 code was miss-interpreted it's looks like
>> : GET /1.asp?Action=?? HTTP/1.1
>>
>> but if I use the Browser direct input the string below.
>> the Ethereal Tools told me :
>> GET /1.asp?Action=確認 HTTP/1.1
>>
>> So. how can I use the HttpWebRequest and be able to change
>> this kind of encoding ? I tried to find every class in
>> System.Net . including Url / StringWriter.... etc .
>>
>> So what did I miss ?
>>
>> any one has this kind of experience ?
>>
>> many thanks in advance
>>
>> Polo
>>

Reply via email to