bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-


From: Stefan Monnier
Subject: bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8")
Date: Sat, 21 Mar 2009 21:23:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> 4) Finally, after unsetting LANG or not (it is irrelevant) do

>     emacs -Q --eval "(set-language-environment \"UTF-8\")" test.txt -f
> vc-annotate

>   Now the *Annotate* buffer is in `utf-8-dos', but contains a mixture
> of utf-8 and raw bytes:

>     ^7fb00c1 (Juanma Barranquero 2009-03-22 00:01:39 +0100 1) A few
> Spanish characters: \341\351\355\363\372\374\361

I don't see a mixture of anything, I just see latin-1 encoded chars
decoded incorrectly because Emacs somehow decided to try and decode the
stream using the utf-8 coding-system.
But yes that's a bug.  `vc-annotate' should use the main file's
coding-system to decode the annotated text, regardless of
language environment.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]