Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic