|
|
@@ -473,14 +473,14 @@ public class docManage extends Controller {
|
|
|
tattachment.setValue("ftype", "default");
|
|
|
tattachment.setValue("postfix", ftype);
|
|
|
tattachment.setValue("serialnumber", fileName);
|
|
|
- tattachment.setValue("fdocument", uploadfile.getFileName());
|
|
|
+ tattachment.setValue("fdocument", new String(uploadfile.getFileName().getBytes("iso8859-1"), "UTF-8"));
|
|
|
tattachment.setValue("fobsurl", obsurl);
|
|
|
if(!StringUtils.isBlank(type)) tattachment.setValue("type", type);
|
|
|
tattachmentSet.save();
|
|
|
|
|
|
|
|
|
Row row=new Row();
|
|
|
- row.put("fdocument",uploadfile.getFileName());
|
|
|
+ row.put("fdocument",new String(uploadfile.getFileName().getBytes("iso8859-1"), "UTF-8"));
|
|
|
row.put("fobsurl",obsurl);
|
|
|
row.put("tattachmentid",tattachment.getUniqueIDValue());
|
|
|
row.put("postfix",ftype);
|