Please help with encoding

S

slishnevsky

Hi, I have a question - I read Google Bookmarks RSS with my
application in asp.net 2.0 and display them like this:

XmlUrlResolver resolver = new XmlUrlResolver();
resolver.Credentials = new NetworkCredential("username", "password");
XmlDocument document = new XmlDocument();
document.XmlResolver = resolver;
document.Load("http://www.google.com/bookmarks/lookup?output=rss&sort=title&num=10000");
// <- here, in document.InnerXml I already have question marks instead
of russian letters...
XmlDataSource datasource = new XmlDataSource();
datasource.Data = document.InnerXml;
datasource.XPath = "rss/channel/item";
DataList1.DataSource = datasource;
DataList1.DataBind();

My bookmarks are mostly in russian, and, when I read RSS (before I do
anything else), I see that all russian letters come as question marks,
something like this "??? ????? ???????? ??????". English letters are
fine. Any advise how to fix this would be appreciated. Thanks.
 
S

slishnevsky

I AM SO ****ING TIRED OF THIS ENCODING BULLSHIT.

Multi billion corporations can't agree on ****ing encoding?
If they can't make it work maybe they should go clean some toilets
instead !!
Spent 4 days on this shit already, still shows me
"???????????????????????".
I give up, too tired. Have a nice day.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top