开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜