Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1813 | minor | always | 06-22-07 00:06 | 07-26-07 14:21 | |
|
|||||
Reporter: | jr_rajan | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 2.1.x | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.2 | ||
|
|||||
Summary: | 0001813: Character Encoding (UTF - 8) Problem in 2.1.16 Version | ||||
Description: |
Hi, I'm using 2.1.16 version and my application supports Multilingual. I've described my issue as follows: After entering some chinese characters in (Textarea) jsp and press the submit button, it submits to the same jsp and from there it includes java file for updation in the database. It stored some strange characters in database and also displays the same strange characters in the jsp. I've gone thru the sun forum and i could see , if i add the following lines of code in jsp, it will work perfect <%@ page contentType="text/html; charset=utf8" %> request.setCharacterEncoding("UTF-8"); should be the first line in jsp after directives. I did the same thing in jsp, it works fine in tomcat ( previously i was facing the same problem over there also ). where as in Resin it didn't work. I could see the following in one more forum. "Try setting LC_CTYPE=en_US.UTF-8 in httpd.sh. Don't forget to export the variable." But i'm using windows version. above is for linux version. Could any one provide me the exact solution to solve this issue. I've attached the source files also for your review. Many Thanks, Rhenatas. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
C:\\Documents and Settings\\rhenatasrajan\\Desktop\\Resin\\messageEdit.jsp [^] (1,789 bytes) 06-22-07 00:06 C:\\Documents and Settings\\rhenatasrajan\\Desktop\\Resin\\messageUpdate.java [^] (6,222 bytes) 06-22-07 00:07 |
Notes | |||||
|
|||||
|
|