From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Cyrillic VC Git commit messages Date: Fri, 21 Nov 2014 07:30:06 +0300 Message-ID: <546EBFCE.5010602@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1416544255 29735 80.91.229.3 (21 Nov 2014 04:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2014 04:30:55 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 21 05:30:48 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xrfrs-0007X0-N6 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Nov 2014 05:30:48 +0100 Original-Received: from localhost ([::1]:38400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xrfrr-00089G-Tm for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2014 23:30:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrfrT-000896-F0 for help-gnu-emacs@gnu.org; Thu, 20 Nov 2014 23:30:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrfrK-0007r6-EN for help-gnu-emacs@gnu.org; Thu, 20 Nov 2014 23:30:23 -0500 Original-Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:62157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrfrK-0007r2-62 for help-gnu-emacs@gnu.org; Thu, 20 Nov 2014 23:30:14 -0500 Original-Received: by mail-la0-f54.google.com with SMTP id gf13so3511678lab.41 for ; Thu, 20 Nov 2014 20:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:date:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=eWmLMcP2bXCWaAmJg4s/keyBq0bypNtVVkFIeCp/j58=; b=Dy7SSXTA7A7jotQpr1N6qYgfE0o7B6iavm6QQV+MK7X7k1bEfZ/YWBWUhUU5kGL0uQ XXGZJ8VB2siV0r3WdU09LSwZhulzt2Cl6hAJ2eQUnVo9etmQ0AD+4vR5tBNHlMk7jSk8 /ExwBshvn5QMVXw5FFLf5EHqTLwnyy79Le7JsPxAWsKw9PS5GhNVjdcuCSfd3A2ZANIi sP2rvfwACftzoZqzCs9X+xEt9Gys8hwFi32DirVxOMLrU97O+Qr3eAGm18L5A7Um0aw3 NUqRaCSYNb7eCz1I4arG+dCKxggjOO1ST/2/alUm+vYMGp4tuLMutaty3K2Gdu8Cdnvq /DQQ== X-Received: by 10.112.25.73 with SMTP id a9mr1943784lbg.10.1416544213367; Thu, 20 Nov 2014 20:30:13 -0800 (PST) Original-Received: from [127.0.0.1] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by mx.google.com with ESMTPSA id j19sm931426lbl.23.2014.11.20.20.30.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 20:30:12 -0800 (PST) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-Antivirus: avast! (VPS 141120-1, 21.11.2014), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101091 Archived-At: 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