I'm working on the chinese version of our project. I already set the charset to GB2312 for all jsp pages to display simplified chinese correctly. Now I need to pass data within forms between jsp pages. In the english version, we used request.getParameter to receive these data, but after changing the charset setting, it causes the get data to be unreadable. Any solutions on how I can overcome this problem?

lv ke

You will have to decode the previously encoded data as:

new String(request.getParameter("paramName").getByte("8859-1"),"gb2312")