Example #1
0
 public static string Encode(string str, string encoding)
 {
     return(HttpUtility.UrlEncode(str, Extensions.GetEncoding(encoding)));
 }
Example #2
0
 public OutputStreamWriter(OutputStream stream, string encoding) : base(stream.GetWrappedStream(), Extensions.GetEncoding(encoding))
 {
 }