Character Set Question

Hello,

I have a question regarding the way characters are handled on a post or even how java interperates them. I am assuming it is based on the character set that is set on the machine.

Here is the issue that I have:

I have a text area in which i copy and paste the character ε (which is the same as ε in HTML). When i submit the form this character automatically becomes ? (this is int value of 229) by the time i request the parameter in the servlet.

I researched the internet and found that the character ε is equivalent to '\u03B5' or int value of 949. But when I try to print these values on the screen it prints a question mark (?)

Does anyone know why this happens? My assumption is that the it is the character set on the machine. Basically I am thinking that I would need to install a character set so the webserver so it knows what the value of (char) 949 is. If this is the case how do I install such character set.

I could be completely wrong about this. Any advice will be helpful.

Thanks for your help in advance.

[1101 byte] By [maleny007a] at [2007-11-26 14:29:34]
# 1
Read this: http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/
DrClapa at 2007-7-8 2:23:58 > top of Java-index,Java Essentials,Java Programming...