From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58281: 27.1; windows mangles encoding on command line Date: Tue, 04 Oct 2022 13:02:04 +0300 Message-ID: <8335c3x5yb.fsf@gnu.org> References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26597"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58281@debbugs.gnu.org To: Wayne Harris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 12:03:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofelt-0006jL-LZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 12:03:29 +0200 Original-Received: from localhost ([::1]:34988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofelr-0004ed-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 06:03:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofelS-0004dF-Aw for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 06:03:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofelS-0007BO-02 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 06:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofelR-0000JD-RF for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 06:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58281 X-GNU-PR-Package: emacs Original-Received: via spool by 58281-submit@debbugs.gnu.org id=B58281.16648777351133 (code B ref 58281); Tue, 04 Oct 2022 10:03:01 +0000 Original-Received: (at 58281) by debbugs.gnu.org; 4 Oct 2022 10:02:15 +0000 Original-Received: from localhost ([127.0.0.1]:52524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofekh-0000ID-GN for submit@debbugs.gnu.org; Tue, 04 Oct 2022 06:02:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofekg-0000Hz-9y for 58281@debbugs.gnu.org; Tue, 04 Oct 2022 06:02:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofeka-00077d-SJ; Tue, 04 Oct 2022 06:02:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HmVhMakkSnpi5XVeIafRD4pbGdM0kRrIkQ9Y71hbzrk=; b=OlJFU2d0eCYl9Z5YPUtU xrl7PjMAHgZOVhEnf/Koj0imQJlZh/D4g4DS9F/Fnzy1Ax9iurNKRlmTwIij7xiE2Pr1Rjr12X/yU JYZiJMDOfs+K+frsZd5DThqVrTj2Tn1n9qu+tZBpPTMekunKfGpxowKP62TE4iJxBxnR5oQo8VRV4 JvI0joLBDObH1P/x3L1OIV8sI03wfiF9qZwh3mKTrtQ3qt7w3H4HylIMe4pL5mhXP5TeCdJm4U/JA J/fI8a+x8cp/k08R+GBAmgC5svkCxVNOVNOD2z+jEmpx6ni4GglVpwVx3vdp08p/WM3kBhAPA5aXb 4LtFPgOo2CVLUg==; Original-Received: from [87.69.77.57] (port=3020 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofeka-0002CT-Ab; Tue, 04 Oct 2022 06:02:08 -0400 In-Reply-To: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> (message from Wayne Harris on Mon, 03 Oct 2022 22:18:35 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244379 Archived-At: > From: Wayne Harris > Date: Mon, 03 Oct 2022 22:18:35 -0300 > > > I run emacs -Q. I open eshell. Then I try to use fossil (which is a > version control system like git) and try to put accented letters on the > commit message. No choice of encoding seems to avoid the mangling. > > c:/my/path $ alias fs 'fossil $*' > c:/my/path $ echo kkk >> encoding.txt > c:/my/path $ fs changes > EDITED encoding.txt > > c:/my/path $ (print default-process-coding-system) > (undecided-dos . undecided-unix) > > c:/my/path $ (or buffer-file-coding-system "it is nil") > it is nil > > c:/my/path $ fs commit -m 'Naiveté' > [...] > Sync done, wire bytes sent: 3234 received: 309 ip: 5.161.138.46 > > c:/my/path $ fs timeline -n 1 > === 2022-10-02 === > 13:11:20 [febbbf0441] *CURRENT* Naiveté (user: mer tags: trunk) > --- entry limit (1) reached --- > c:/my/path $ Where did you download Fossil for MS-Windows? Is it a native Windows program, or a Cygwin program? Is 'fs' a program (i.e. fs.exe) or some kind of shell script, and if the latter, can you post the script? Also, do you know whether Fossil expects the message text in some particular encoding?