aspose file tools*
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 Spring in Action this week in the Spring 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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User profile is not saved in correct encoding when use simple chinese