Can I set the default encoding in web.xml?
Hi
I have a query regarding the default encoding. In my application, I do the string conversion from ISO8859_1 to UTF8, assuming that the default encoding is ISO8859_1.
s = new String(s.getBytes("ISO8859_1"), "utf8");
However this results in erronious conversions. When I change the ISO8859_1 encoding to Cp1253, I get the correct result.
If I cannopt change the encoding in the above piece of code, is there any other way by which I can set the default encoding to ISO8859_1, so that the above line returns the correct value? Can I change the settings in web.xml or somethin?

