X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/ddff8abaaa8a1a47062458ca7835624b11e93333..aecf97adec72d5af1df94782505df787efe5670a:/src/minwii/widgets/songfilebrowser.py 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))