#87: cvs --> mercurial: Configuration error: 'ascii' codec can't encode
character u'\xdc'
---------------------------+------------------------------------------------
Reporter: ThurnerRupert | Owner: lele
Type: defect | Status: new
Priority: major | Milestone: VersionOne
Component: tailor | Version: 0.9
Keywords: |
---------------------------+------------------------------------------------
what could make tailor think reverting to "ascii" is wise?
{{{
17:19:09 [C] Upstream change application failed
Configuration error: 'ascii' codec can't encode character u'\xdc' in
position 11: ordinal not in range(128): it seems that the encoding used by
either the source ("ISO8859-1") or the target ("UTF-8") repository cannot
properly represent at least one of the characters in the upstream
changelog. You need to use a wider character set, using "encoding" option,
or even "encoding-errors-policy".
}}}
we also tried to hardcode the encoding to UTF-8. the effect was that
source and target are stated as "UTF-8" (which is not true) and the same
"ascii" error.
the log message of that change was empty, the only strange thing i see was
that a windows cvs client removed a file called "~$$CSS Übersicht.~vsd"
cvs to mercurial synch happens on unix, creating the file with escaping by
"\" works as shown below:
{{{
$ locale
LANG=
LC_CTYPE="en_US.ISO8859-1"
LC_NUMERIC="en_US.ISO8859-1"
LC_TIME="en_US.ISO8859-1"
LC_COLLATE="en_US.ISO8859-1"
LC_MONETARY="en_US.ISO8859-1"
LC_MESSAGES="en_US.ISO8859-1"
LC_ALL=en_US.ISO8859-1
$ touch "~\$\$CSS Übersicht.~vsd"
$ ls
~$$CSS Übersicht.~vsd
}}}
hg version is 0.9.1, or 0.9.2 (with patch from #86).
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/87>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor