suppose some Chinese text is there in an xml. I want to display the same chinese text in jsp.

What would be the better way to do this.
Do i need to encode the whole xml.
Do i encode in the java and jsp. 

Is this better to encode while setting in the java or displaying in the jsp.