Fixed a typo.

svn: r14210
This commit is contained in:
Peter Landgren 2010-02-04 15:01:11 +00:00
parent 2f1a8dc1ed
commit 053164f50c

View File

@ -280,7 +280,7 @@ if platform.system() in WINDOWS:
#so no need to specify it
conv_utf8_tosrtkey_ongtk = lambda x: locale.strxfrm(unicode(x).encode(
codeset))
conv_unicode_tosrtkey_ongtk = lambda x: locale.strxfrm(x.encode(codeset),'replace')
conv_unicode_tosrtkey_ongtk = lambda x: locale.strxfrm(x.encode(codeset,'replace'))
else:
# on unix C functions need to recieve utf-8. Default conversion would
# use ascii, so it is needed to be explicit about the resulting encoding