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

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

Cyrillic VC Git commit messages


From: Nikolay Kudryavtsev
Subject: Cyrillic VC Git commit messages
Date: Fri, 21 Nov 2014 07:30:06 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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




reply via email to

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