|
-
Jul 1st, 2011, 01:33 AM
#2
Re: Using Webclient to read chinese characters
The issue is simply one of text encoding, just as it would be if you were reading the same data from a local file. If you assign an appropriate Encoding object to the Encoding property of the WebClient then it will encode the binary data that it downloaded correctly when converting it to text. You will have to use the same encoding that the server used to in the first place. If you don't know what that is then you will have to experiment a bit.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|