From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 2741@emacsbugs.donarmstrong.com
Subject: bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8")
Date: Sun, 22 Mar 2009 02:31:26 +0100 [thread overview]
Message-ID: <f7ccd24b0903211831n5d27e18m361e0f21491c7e8f@mail.gmail.com> (raw)
In-Reply-To: <jwvk56is68x.fsf-monnier+emacsbugreports@gnu.org>
On Sun, Mar 22, 2009 at 02:23, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 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.
Whatever. What I meant is that the buffer is nominally utf-8, but
contains raw bytes.
> 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.
It seems also a bug that the behavior is different between
emacs -Q --eval "(set-language-environment \"UTF-8\")"
and
set LANG=utf8.UTF-8
emacs -Q
when, in both cases, `current-language-environment' is "UTF-8".
Juanma
next prev parent reply other threads:[~2009-03-22 1:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f7ccd24b0909110402t5bf8123dh6104f26a17a9c3b8@mail.gmail.com>
2009-03-21 23:23 ` bug#2741: Mixed UTF-8 and raw bytes in output of vc-annotate after (set-language-environment "UTF-8") Juanma Barranquero
2009-03-22 1:23 ` Stefan Monnier
2009-03-22 1:31 ` Juanma Barranquero [this message]
2009-09-09 23:18 ` Juanma Barranquero
2009-09-11 11:10 ` bug#2741: marked as done (Decoding of vc-annotate output affected by language environment) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0903211831n5d27e18m361e0f21491c7e8f@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=2741@emacsbugs.donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).