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

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

bug#23075: 24.5; vc-git-command should use coding-system-for-read


From: Nikolay Kudryavtsev
Subject: bug#23075: 24.5; vc-git-command should use coding-system-for-read
Date: Mon, 21 Mar 2016 21:45:40 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hello.

Ok, here are more detailed steps on how to repeat this this bug.
1. Clone https://github.com/sg2002/vc-git-bugs
2. Open 1251.txt in windows1251 encoding. Do some changes in it.
3. vc-diff. This would give you diff with broken encoding.
4. Evaluate vc-git-command from fix.el in the repo.
5. vc-diff again, it would give you the correct encoding as long as the file itself opened correctly.

Yes, there is some code that specifies encoding in vc already. See the first large comment in vc-diff-internal.

This issue is not platform specific, unlike 23076.

--
Best Regards,
Nikolay Kudryavtsev






reply via email to

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