globalPreferenceParser.read(getPreferencePath())\r
if not globalPreferenceParser.has_section('preference'):\r
globalPreferenceParser.add_section('preference')\r
- globalPreferenceParser.set('preference', name, str(value).encode("utf-8"))\r
+ globalPreferenceParser.set('preference', name, unicode(value).encode("utf-8"))\r
globalPreferenceParser.write(open(getPreferencePath(), 'w'))\r
\r
#########################################################\r