Retrieve unmangled unicode strings from preferences

This commit is contained in:
Aurimas Vinckevicius 2015-01-20 23:28:22 -06:00
parent af775e6082
commit 11017b650c

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