diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 5e5b26e04..76fe34e7b 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -540,7 +540,7 @@ Zotero.Attachments = new function(){ mimeType = "application/pdf"; } - var charsetID = Zotero.CharacterSets.getID(document.characterSet); + var charsetID = Zotero.CharacterSets.getID('utf-8'); // WPD will output UTF-8 if (!forceTitle) { // Remove e.g. " - Scaled (-17%)" from end of images saved from links,