X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/3eb9b81124d56b9ed8069d16c6c326f2832d29ac..aecf97adec72d5af1df94782505df787efe5670a:/src/minwii/widgets/songfilebrowser.py?ds=sidebyside diff --git a/src/minwii/widgets/songfilebrowser.py b/src/minwii/widgets/songfilebrowser.py index 8dd4821..08008e3 100755 --- a/src/minwii/widgets/songfilebrowser.py +++ b/src/minwii/widgets/songfilebrowser.py @@ -300,8 +300,8 @@ def _recurseDecomposition(uc): fullDeco = u''.join(filter(lambda c : isPrintable(c), fullDeco)) return fullDeco -def desacc(s) : - us = s.decode('utf-8', 'ignore') +def desacc(s, encoding='iso-8859-1') : + us = s.decode(encoding, 'ignore') ret = [] for uc in us : ret.append(_recurseDecomposition(uc))