Tuesday, October 7, 2003 03:43 PM
Tomcat 4.1 not finding my Charset
I am trying to convert a string to EBCDIC and I use:
byte arr = str.getBytes("cp037");
This works when I run it stand-alone, but not when I put it in my servlet. I am using the same JVM for both environments (1.4.2). I have read about problems using ebcdic with the nio classes, but this seems to be different because it works fine stand-alone.
Does Tomcat have a mechanism to configure which charsets are available? I have looked but cannot find it.