[issue2354] unknown exception using convert due to an encoding issue

Lucas Chiesa bugs at mercurial.selenic.com
Tue Aug 31 03:46:57 UTC 2010


New submission from Lucas Chiesa <lucas.chiesa at gmail.com>:

I'm trying to convert a Darcs repo to a mercurial one.

When doing this, I get the following error:
http://paste.lisp.org/display/114070

My system is in utf-8:
$ locale
LANG=es_AR.UTF-8
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=

The offending patch seems to have a character not UTF-8. If I use darcs
changes to see the patch description, y see...

"Saque el tama\c3\b1o en [..]" where the \c3\b1 is the problematic character.

This patch was writing by someone using windows, so it is most likely in
latin1. I tried adding   LANG=es_AR.ISO-8859-1 and  HGENCODING=latin-1 to
the convert line with the same output.

Thanks!

----------
messages: 13523
nosy: tulku
priority: bug
status: unread
title: unknown exception using convert due to an encoding issue
topic: 1.6.2, convert

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2354>
____________________________________________________


More information about the Mercurial-devel mailing list