wood burning stoves 2.0*
The moose likes JForum and the fly likes Topic is not saved in correct encoding when I post in Tradit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Topic is not saved in correct encoding when I post in Tradit" Watch "Topic is not saved in correct encoding when I post in Tradit" New topic
Author

Topic is not saved in correct encoding when I post in Tradit

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Dear Rafael,
I use the CVS code of PostAction.java,v 1.1 2004/08/30 23:51:19, and I found that the insertSave() would save Topic.title in the wrong encoding into jforum_topics when I post a new topic in Traditional Chinese. However, the subject is correctly saved in jforum_topics_text.
I checked the PostCommon.java and PostAction.java, then I fixed the insertSave() with some technique copied from PostCommon.java's fillPostFromRequest(). Here's the fixing:

Hope it can be included into CVS code later.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hm, this problem shouldn't occur. I'll check it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Topic is not saved in correct encoding when I post in Tradit
 
Similar Threads
Guide on interfacing with JForum
Bug fix for deleting posts
User complete Deletion and cache
cannot delete a post on CVS version
Post time