Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: How to use HAPPhone APIs to achieve this function

$
0
0

Hi,

I have ran into a problem usig XmlReader on WP7. It is because it does not support BIG5 encoding when trying to read XML content.

Here is what I was trying to do.

using (XmlReader reader = XmlReader.Create(http://feeds.feedburner.com/nownews/politic)
while (reader.Read())  // iterate through the document
   
switch (reader.NodeType)  
       
case XmlNodeType.Text:  
           
string s = reader.Value; //looking for content under all <item>

I wonder if someone can give quick code so that I can try if I can get character display correctly on device. Very appreciated!

thsieh 


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>