Hi, I am using Fedora core 2 linux with Oracle 10g and tomcat 4 and Java 1.4. I am reading values from DB and creating an XML. The database contains a Currency column in which ther is Euro Symbol(�). After constructing the XML i am ale to see the exact euro symbol in XMl. But if i read it and display in the browser i am getting a ? symbol. But if a generate the same XMl from windows environment with the DB in the same linux machine. I an getting a Junk character in XMl but its getting displayed properly in the JSP page. Please provide me a solution
The post says that its getting displayed properly in jsp.
You don't need to set the JSP encoding properly for this to happen, Rahul. It may happen because the browser you are using can work out how to render content correctly, but this is not a reliable way to do this (have a re-read of the article I posted above, it cover this).
That's a good call Rahul - I hadn't thought of that . I suppose it might be that IE (if that is the browser he is using) renders the escaped entity as a euro when using it as an XML viewer?
Originally posted by AtulKumar Gaur: HI Ranchers Is there some gift provided by Sun like Tshirt for whome who cleared SCJP1.4 with good score.Please explore this.