From 11017b650c4c1191468185f547bdff3c6927b3c3 Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Tue, 20 Jan 2015 23:28:22 -0600 Subject: [PATCH] Retrieve unmangled unicode strings from preferences --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 903b4ff79..a4dde6524 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -2203,7 +2203,7 @@ Zotero.Prefs = new function(){ case branch.PREF_BOOL: return branch.getBoolPref(pref); case branch.PREF_STRING: - return branch.getCharPref(pref); + return '' + branch.getComplexValue(pref, Components.interfaces.nsISupportsString); case branch.PREF_INT: return branch.getIntPref(pref); }