Handle complexity of parsing a string with multiple encoded word: See RFC2047
コード例 #1
0
        /// <summary>
        /// replaces all the occurences of : =?charset?Q|B?string?= into the specified value.
        /// </summary>
        public static string DecodeEncodedWords(string value)
        {
            EncodedWords encodedWords = new EncodedWords(value);

            return(encodedWords.Decoded);
        }
コード例 #2
0
 /// <summary>
 /// replaces all the occurences of : =?charset?Q|B?string?= into the specified value.
 /// </summary>
 public static string DecodeEncodedWords(string value)
 {
     EncodedWords encodedWords = new EncodedWords(value);
     return encodedWords.Decoded;
 }