meaningless characters!
I am writing a Persian RSS reader. for reading RSS, I use Chilkat free RSS component, but for some websites the output of the component is malformed and unreadable. I know this is a problem with encoding, but couldn't fix it by converting either utf8 or utf16.
Please note that for some websites it works correctly.
Because the component has nothing to set default encoding or locale, can 开发者_如何学编程someone help me fix the issue?
Example:
Original value in the RSS xml file: Tabnak.IR | تابناك
Program output: Tabnak.IR | تابناك
I am using .Net 4 and C#
I used another component RSS.Net that is also free and works well.
sample of my previous code could be found here: http://www.example-code.com/csharp/rss_read_feed.asp
精彩评论