Upload script really shouldn't be setting the mimetype to "UTF-8"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2008-05-30 13:32:17 +00:00
parent c109d0793f
commit fde98ebc15

View File

@@ -122,7 +122,7 @@ else
upload = destNode.createFile(filename) ;
upload.properties.contentType = contentType;
upload.properties.content.write(content);
upload.properties.content.mimetype = "UTF-8";
upload.properties.content.encoding = "UTF-8";
upload.properties.title = title;
upload.properties.description = description;
upload.save();