I don't do *any* JSP development (since I hate it that much :P), but the first thing to look for is whether these characters are actually different, or if its simply an encoding issue with display. Start by walking through the char array and checking each of the char's ascii/unicode values to see if they are the correct value. If so, its likely just a charset/encoding issue affecting output.
Is that value actually hardcoded in as well, or is that what has been typed into the text field?
header('HTTP/1.1 420 Enhance Your Calm');