it is the html source that has the funny characters, so it is not a problem with the browser because it prints out the hard coded encoding just fine. I don't know what exactly you meant by run time character coding. and i am also new at JSP, can you tell me what you meant by changing the JSP container?
"Edward W. Rouse" <erouse@vei.net> wrote:
One last thing to check. You say the html file generated has funny
characters. I am assuming you mean the html source. If the html source
has the funny characters, then the jsp is trying to decode the UTF-8. If
the html source has the original 〹, then the decode is happening
in the browser.
In the first case, I read somewhere that you can set the character
coding at run time using an option ( probably -D= ) for a
java executable. Your jsp container MIGHT have the same option. If not,
you may be out of luck or may need to change to a different jsp
container.
In the second case, you will need to change a browser preference, the
character encoding. Check your browser help file.
Ed.
Poorav Chaudhari wrote:
>
> thanks for getting back with this again, .....
>
> the decoding is being done in the browser. After i read the value
> using getNodeValue, (at the moment i am simply trying to print it on
> the browser using out.println. basically it is a jsp. so i am running
> it throught a browser. the html file generated has funny characters.
> if you want i can send you the xml file i am reading with the jsp, if
> that is not too much of a bother.
>
> thanks
>
> poorav
>
> ----------------------------------------------------------------------
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone with Yahoo! by
> Phone.