Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究从 rss 读取数据的 windows phone 项目。此 RSS 在 windows-1250 中编码,当在应用程序中显示时,我得到 ??? 字符而不是š,č等...我一直在寻找解决方案...没有运气...请帮助
如果您使用 aWebClient下载 RSS,那么您可以指定下载数据时使用的编码。在您的情况下,您可以指定UTF8.
WebClient
UTF8
WebClient client = new Webclient(); client.Encoding = Encoding.UTF8;