Encoding problems in XML - TechRepublic
General discussion
April 16, 2001 at 06:13 PM
kusumakumari

Encoding problems in XML

by kusumakumari . Updated 25 years, 1 month ago

I have a apostrophe charecter(from windows) in ISO-8859-1 encoding in my XML document(encoding not specified in the xmldoc). When i retrieve it from my XML database(default encoding in XMLDB is utf-8)and get some nodes using DOMAPI and print them tobrowser using JSP, i get ? printed instead of apostrophe. I am setting the encoding in JSP(HTML content-type header) as UTF-8. I tried setting it to ISO-8859-1 also. neither worked. Can anyone help me out?
Thanks,
kusuma

This discussion is locked

All Comments