|
From: | Nikolay Kudryavtsev |
Subject: | bug#23075: 24.5; vc-git-command should use coding-system-for-read |
Date: | Mon, 21 Mar 2016 22:35:46 +0300 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
That's true, and whoever wrote this part of vc was aware of the issue, as you can see from that comment. The simple fix at least allow getting diff for the file in a different encoding, even if you have to diff that file alone.Then the encoding of the file being visited is no longer as relevant as in the use case you describe.
I can confirm that Oscar's issue with HELLO is the same thing. What he described as garbage was probably the result of vc-diff encoded in utf-8 since that's the default value of vc-git-commits-coding-system.
-- Best Regards, Nikolay Kudryavtsev
[Prev in Thread] | Current Thread | [Next in Thread] |