Merge pull request #618 from aurimasv/prefs-unicode

Retrieve unmangled unicode strings from preferences
This commit is contained in:
Dan Stillman 2015-01-30 03:42:34 -05:00
commit 783ba4a0b7

View file

@ -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);
}