Special Characters in JAXB Classes
Hi,
I have generated Java bean classes from an xml schema using JAXB 2.0 Content Model feature in Jdeveloper 11g. I have another class, which has a method testMethod which takes the Java Bean class object as input. I have exposed this method as java webservice. I am just printing the FirstName from the input I have got.
public String testMethod(TestBean testbean) {
testBean,getContact().getFirstName();
}
When there are some special characters like �, my java bean accepts and displays as �. I printed the value directly in my getter method, but it prints differently.
How can I set my Java Bean class to use ISO-8859-1 as encoding