On Thu, 12 Jun 2008 12:49:58 +0200
Benjamin Franksen <[EMAIL PROTECTED]> wrote:

> Hi All
> 
> I have a patch in which the patch name contains a funny sequence of
> characters, originally meant to be a 'ü'....
> 
> I think this is a bug in darcs. XML output should not contain escape
> sequences to colorize output, regardless of configuration settings.
> 
> The obvious work-around is to
> 
>   export DARCS_DONT_COLOR=1
> 
> however, this should not be necessary IMHO.

Hi Benjamin,

this is a well known problem with darcs, but I'm surprised to hear
that the colorization gets applied with --xml-output!

I tried to understand the issue, and it seems stemming from the
simplicity of its `escapeXML` function, that basically escapes only
'<' and '>' symbols...

Tailor offers an option, `replace-badchars`, that "preprocess" the XML
output replacing a set of chars with the corrisponding XML
notation. This is clearly a very dirty workaround, but it's simple
enough.

hth,
ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
[EMAIL PROTECTED] |                 -- Fortunato Depero, 1929.
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to