getName()不用改,只需要改。public DbAttachment(int objectType, long objectID, String name,
String contentType, InputStream data) throws
AttachmentException {
try{
name = new String(name.getBytes("ISO-8859-1"),
JiveGlobals.getCharacterEncoding());
}catch(Exception e)
{}
...
}
jive forum:
com.jivesoftware.forum.database
jivekb:
com.jivesoftware.kb.database