logilab-mtconverter #8014 annoying crash depending on locale configuration [resolved]

trace:

   from logilab.mtconverter import html_escape, html_unescape
 File "/usr/lib/python2.5/site-packages/logilab/mtconverter/__init__.py", line 33, in <module>
   DEFAULT_ENCODING = locale.getpreferredencoding()
 File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
   setlocale(LC_CTYPE, "")
 File "/usr/lib/python2.5/locale.py", line 478, in setlocale
   return _setlocale(category, locale)
locale.Error: unsupported locale setting
prioritynormal
typebug
done in0.6.1
load1.000
load left0.000
closed by<not specified>