unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cyrillic VC Git commit messages
@ 2014-11-21  4:30 Nikolay Kudryavtsev
  2014-11-21  8:41 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolay Kudryavtsev @ 2014-11-21  4:30 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hi all.

Sometimes I work with projects that have Russian commit messages in the 
git log.

I've found a way to make them work, but it's kind of counter-intuitive. 
First you set
(setq vc-git-commits-coding-system 'windows-1251))
And then in .gitconfig:
[i18n]
logoutputencoding = windows-1251

This works fine inside of emacs, but totally breaks git log in windows 
cmd. For some reason git always expects windows-1251(system default) for 
input, but outputs windows-1252 to cmd.exe and utf-8 to emacs.

So, did I miss something?  Is there another way?

-- 
Best Regards,
Nikolay Kudryavtsev




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-11-22 13:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21  4:30 Cyrillic VC Git commit messages Nikolay Kudryavtsev
2014-11-21  8:41 ` Eli Zaretskii
2014-11-21 13:21   ` Nikolay Kudryavtsev
2014-11-21 14:06     ` Eli Zaretskii
2014-11-21 14:38       ` Nikolay Kudryavtsev
2014-11-21 15:28         ` Eli Zaretskii
2014-11-21 16:48           ` Nikolay Kudryavtsev
2014-11-22 13:42             ` Eli Zaretskii

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).