This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes User profile is not saved in correct encoding when use simple chinese Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "User profile is not saved in correct encoding when use simple chinese" Watch "User profile is not saved in correct encoding when use simple chinese" New topic
Author

User profile is not saved in correct encoding when use simple chinese

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi , i am use jforum 1.0 rc5
when i change my profile ,just like signature, and i input some chinese word and submit . After this , my signature is showed error.

I tryed to changed the templates\default\user_form.htm, when i change :
"<form accept-charset="${encoding}" name="post" action="${contextPath}/jforum.page" method="post" encType=multipart/form-data>"
to
"<form accept-charset="${encoding}" name="post" action="${contextPath}/jforum.page" method="post">"
the signature is saved corret, but of course the avatar upload fails.

Is there any bug in the upload process code ?
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The problem is in the upload library, which, in the version packaged with RC5, have a bug related to encoding.

A fixed version will be available in the next release.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
wood burning stoves
 
subject: User profile is not saved in correct encoding when use simple chinese
 
Similar Threads
Html Input to oracle through servlet and JSP output
problem enctype and charset
Internationalization (specifically with Chinese characters)
setting utf-8 in jsp
Form Action