mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -122,7 +122,7 @@ else
|
|||||||
upload = destNode.createFile(filename) ;
|
upload = destNode.createFile(filename) ;
|
||||||
upload.properties.contentType = contentType;
|
upload.properties.contentType = contentType;
|
||||||
upload.properties.content.write(content);
|
upload.properties.content.write(content);
|
||||||
upload.properties.content.mimetype = "UTF-8";
|
upload.properties.content.encoding = "UTF-8";
|
||||||
upload.properties.title = title;
|
upload.properties.title = title;
|
||||||
upload.properties.description = description;
|
upload.properties.description = description;
|
||||||
upload.save();
|
upload.save();
|
||||||
|
Reference in New Issue
Block a user