Last active
December 20, 2015 13:09
-
-
Save okuniw/6137106 to your computer and use it in GitHub Desktop.
Prepare url parameter value as big5 encoding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string strBig5Param = HttpUtility.UrlEncode(_strBody, Encoding.GetEncoding("big5")) | |
string strRequestUrl = "http://foo/bar?a=XXX&b=" + strBig5Param | |
// ... next: new WebRequest(strRequestUrl) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment