Handle complexity of parsing a string with multiple encoded word: See RFC2047
        /// <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);
        }
Exemple #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;
 }