I am running JRuby 1.1.5 through Tomcat on Windows.
I tried the $KCODE = ‘u’, $KCODE = ‘U’, $KCODE = ‘ASCII’, etc.
None of them worked.
I have a JRuby String “SÃ©rgio” which is converted to a Java String which
sent to JSP which has ISO-8859-1 in its header.
But I get “S?rgio” in the JSP.
Any help will be appreciated as I spent more than 2 hours trying to
out but I was not able too.