This project is read-only.

Encoding

Nov 11, 2013 at 8:51 AM
var cl = new RssClient();
        Uri uri = new Uri("http://static.feed.rbc.ru/rbc/internal/rss.rbc.ru/autonews.ru/mainnews.rss");
        var fd = cl.GetRssFeed(uri);
        foreach (var item in fd.Items)
        {

            string title = item.Title;//"???????????????...

          /*  Encoding ascii = Encoding.Default;

            byte[] asciiBytes = ascii.GetBytes(title);
            char[] asciiChars = new char[ascii.GetCharCount(asciiBytes, 0, asciiBytes.Length)];
            ascii.GetChars(asciiBytes, 0, asciiBytes.Length, asciiChars, 0);
           string asciiString = new string(asciiChars); */ //did not helped (Rus Windows)        

        }
Nov 12, 2013 at 12:02 AM
Hi.
Please try it
cl.ResponseEncoding = Encoding.GetEncoding("your encode");
Nov 13, 2013 at 6:38 PM
Edited Nov 13, 2013 at 7:35 PM
Hi.
cl.ResponseEncoding works, sharp Mail only have not MailMessage Serializable