TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
edu de souza
NA
65
0
Encode problem
Aug 13 2008 12:51 PM
Hi guys, I´m experiencing a problem with xml and encode.
I believe I need to "force" the encode, the current code give me this:
Feliz até para comer
<%Response.Write((info_adic[11].InnerText).Split('$')[0]); %>
Here goes the code that reads the xml:
XmlDocument xDoc = new XmlDocument();
xDoc.LoadXml(responseFromServer);
XmlNodeList nome = xDoc.GetElementsByTagName("no_visitante");
XmlNodeList cd_visit = xDoc.GetElementsByTagName("cd_visitante");
XmlNodeList foto = xDoc.GetElementsByTagName("cd_arquivo_enviado");
XmlNodeList info_adic = xDoc.GetElementsByTagName("dc_infoadicional");
XmlNodeList media = xDoc.GetElementsByTagName("media");
XmlNodeList votos = xDoc.GetElementsByTagName("votos");
XmlNodeList codvoto = xDoc.GetElementsByTagName("cd_arquivo");
How can I set the corret encode?
Do I have to decode?
Thanks
Reply
Answers (
1
)
Pass values to a web page
How take elements from one form and add them on a datagrid on another form?