示例#1
0
 public static string QPDecode(string toEncode, Encoding e)
 {
     byte[] array = WWWTranscoder.Decode(Encoding.UTF8.GetBytes(toEncode), WWWTranscoder.qpEscapeChar, WWWTranscoder.qpSpace);
     return(e.GetString(array, 0, array.Length));
 }
示例#2
0
 public static byte[] QPDecode(byte[] toEncode)
 {
     return(WWWTranscoder.Decode(toEncode, WWWTranscoder.qpEscapeChar, WWWTranscoder.qpSpace));
 }
示例#3
0
 public static byte[] URLDecode(byte[] toEncode)
 {
     return(WWWTranscoder.Decode(toEncode, WWWTranscoder.urlEscapeChar, WWWTranscoder.urlSpace));
 }