diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index a1e32e2ac8..acbbfe3bb3 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -191,7 +191,7 @@ Zotero.Attachments = new function(){ var wbp = Components .classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(nsIWBP); - //wbp.persistFlags = nsIWBP.PERSIST_FLAGS...; + wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION; var encodingFlags = false; Zotero.DB.beginTransaction(); @@ -300,7 +300,7 @@ Zotero.Attachments = new function(){ var wbp = Components .classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"] .createInstance(nsIWBP); - //wbp.persistFlags = nsIWBP.PERSIST_FLAGS...; + wbp.persistFlags = nsIWBP.PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION; var encodingFlags = false; Zotero.DB.beginTransaction();