Skip to content

Instantly share code, notes, and snippets.

@okuniw
okuniw / Encoding Url Parameter in big5.cs
Last active December 20, 2015 13:09
Prepare url parameter value as big5 encoding
string strBig5Param = HttpUtility.UrlEncode(_strBody, Encoding.GetEncoding("big5"))
string strRequestUrl = "http://foo/bar?a=XXX&b=" + strBig5Param
// ... next: new WebRequest(strRequestUrl)