Hi,

i am running an servlet on weblogic ( jre 1.2). The html page should accept
input in any character set say chinese. That value is posted to the servlet.
I want to retrieve the unicode value of the character in the servlet.

In the html page, i have specified meta tag
<META HTTP_EQUIV="Content-Type" content="text-html; charset="UTF-8">

in servlet, i am using String str  = request.getParameter("name")
str.getBytes("UTF8") does not work.

What should i do to get the unicode values of the characters entered.

Please help!!!!!

regards,
bhala



Reply via email to