diff -r 02b127749dc0 -r cdd33a048289 hgext/convert/common.py --- a/hgext/convert/common.py Fri Jul 20 09:31:32 2007 +0200 +++ b/hgext/convert/common.py Sat Jul 21 10:30:51 2007 +0200 @@ -60,7 +60,7 @@ def recode(self, s, encoding=None): if not encoding: encoding = self.encoding or 'utf-8' - + try: return s.decode(encoding).encode("utf-8") except: