From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 21:18:50 2022 Received: (at submit) by debbugs.gnu.org; 4 Oct 2022 01:18:50 +0000 Received: from localhost ([127.0.0.1]:51994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofWa9-0001VM-8n for submit@debbugs.gnu.org; Mon, 03 Oct 2022 21:18:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:42076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofWa7-0001VD-Dw for submit@debbugs.gnu.org; Mon, 03 Oct 2022 21:18:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofWa7-000876-7K for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 21:18:47 -0400 Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]:40588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofWa3-0003GT-Fk for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 21:18:45 -0400 Received: by mail-vs1-xe2d.google.com with SMTP id p11so4611649vsr.7 for ; Mon, 03 Oct 2022 18:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toledo-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date; bh=f+UlY3ckm7ElLpG9STPr+Epe19vPTFVOhNw1RJlhlBI=; b=DacDyqvvryKxPI4BzATqqeG3igDlk67lUIPbj0CypOFonzcKc7ANvAFlR23FcKpvZc nDNi03A8384k7xX/IQdSlBpPRw4HXWuu85t7eZtqXYKZtesNATmG2By5cG1tuQ7ZlLho ujN9w8G9E7nHyB1wQO1K15a/lcDmzWKotEJ2C2SUfofhs3ZuxCz6Veyn7SxB2YFo1Uvd KDm5YAQvf0LmaTwgDqderW7Wf87TG3ue24kvty1yk9C0H1HOvNt0WFmX3F8Q2uMU7ewn jCV7vRkjvntZifGVgLrdwsll2UUgTXcPRMjnLxYs5yG4yvO3cEPQKEQ4B5MTVwZeYMow XSrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date; bh=f+UlY3ckm7ElLpG9STPr+Epe19vPTFVOhNw1RJlhlBI=; b=iJmajSyy5xE1REwb24vfIeoU7PPOEVF3vgPv5M12FmFXr/AjCfJm5RgIRSYWRHu4TC tJ4ex991YoIF/0xVzDfAFhZYuqa5/e/qtJAghCMXED5rxF9SoQ60/QKa5+4Z5J2BuvDW Kq9Y5K/aaJzrNPCCW3mk/EkfRxvNJ3T44AbnzhpNIpmV1Cukvr1ZKhY7LSbFc+/vHWNn u3RrOg/RaHae6mu0e4drGgALgodJRvHjUWp2qtvnaOh8ih7nJT8XMTGBDK2675lJjqu8 XuZhs277MY/2+q/L1LJxFP45NC9EHx0ef+10FV4+AoueKGPel6wsrrlixRJLJLbecAix xRmw== X-Gm-Message-State: ACrzQf2J6g0rGDgSHLhhI1Yie1In7eacpdrsW126lOy0A2ToYF2GGMJW +sThV/8KM2+IoRUUe6ZdFqXsBWfi02YyLoiwVS9pPg== X-Google-Smtp-Source: AMsMyM5LqYZBFKI8M8cwGLoLGjpmeJok21ZZiKpTLlFXzx8AieeYg2kCXpmI4PwCltDns1lmixLu5g== X-Received: by 2002:a05:6102:3c8c:b0:39f:f9a0:e2dc with SMTP id c12-20020a0561023c8c00b0039ff9a0e2dcmr11420491vsv.40.1664846320279; Mon, 03 Oct 2022 18:18:40 -0700 (PDT) Received: from zejito (179-70-172-194.user3p.veloxzone.com.br. [179.70.172.194]) by smtp.gmail.com with ESMTPSA id p22-20020a056102275600b003a6842b4c44sm2520989vsu.11.2022.10.03.18.18.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 18:18:39 -0700 (PDT) From: Wayne Harris X-Google-Original-From: Wayne Harris To: bug-gnu-emacs@gnu.org Subject: 27.1; windows mangles encoding on command line Date: Mon, 03 Oct 2022 22:18:35 -0300 Message-ID: <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: quoted-printable Received-SPF: softfail client-ip=2607:f8b0:4864:20::e2d; envelope-from=dbastos@toledo.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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=20 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=C3=A9' [...] Sync done, wire bytes sent: 3234 received: 309 ip: 5.161.138.46 c:/my/path $ fs timeline -n 1 =3D=3D=3D 2022-10-02 =3D=3D=3D 13:11:20 [febbbf0441] *CURRENT* Naivet=C3=83=C2=A9 (user: mer tags: trunk) --- entry limit (1) reached --- c:/my/path $=20 Commit message has been mangled. I then tried to set the ESHELL buffer to utf-8 to no avail. Eli Zaretskii kindly helped me to investigate this in the help-gnu-emacs@gnu.org maillist. First message was=20 <86wn9jd3sw.fsf@protonmail.com> with subject=20 on ESHELL, utf-8 and fossil command-line commit message --8<---------------cut here---------------start------------->8--- > Who is mangling my command-line arguments and why? Thank you! You cannot use UTF-8 for encoding command-line arguments of subprocesses on MS-Windows. Use your system's codepage instead. This means make sure the Eshell buffer's value of buffer-file-coding-system is your system codepage, not UTF-8. --8<---------------cut here---------------end--------------->8--- In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-21 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.19041 System Description: Microsoft Windows 10 Enterprise (v10.0.2004.19041.388) Configured using: 'configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_ALL: C value of $LANG: en_US locale-coding-system: cp1252 Major mode: Article Minor modes in effect: shell-dirtrack-mode: t electric-pair-mode: t show-paren-mode: t recentf-mode: t save-place-mode: t winner-mode: t display-time-mode: t global-eldoc-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: c:/sys/emacs/usr/.emacs.d/elpa/pos-tip-20191227.1356/pos-tip hides c:/sys/e= macs/share/emacs/site-lisp/my-pos-tip/pos-tip c:/sys/emacs/usr/.emacs.d/elpa/pos-tip-20191227.1356/pos-tip-pkg hides c:/s= ys/emacs/share/emacs/site-lisp/my-pos-tip/pos-tip-pkg c:/sys/emacs/usr/.emacs.d/elpa/pos-tip-20191227.1356/pos-tip-autoloads hide= s c:/sys/emacs/share/emacs/site-lisp/my-pos-tip/pos-tip-autoloads c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-xp hides c:= /sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-xp c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-xp-complete= hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-xp-complete c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-wsl hides c= :/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-wsl c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-visit hides= c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-visit c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-util hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-util c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-unicode-inp= ut-method hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-un= icode-input-method c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-stepper hid= es c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-stepper c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-smart-open = hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-smart-open c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-show hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-show c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-repl hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-repl c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-repl-buffer= -name hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-repl-b= uffer-name c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-profile hid= es c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-profile c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-ppss hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-ppss c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-parens hide= s c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-parens c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-mode hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-mode c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-logger hide= s c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-logger c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-keywords-an= d-builtins hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-k= eywords-and-builtins c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-indent hide= s c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-indent c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-imenu hides= c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-imenu c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-font-lock h= ides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-font-lock c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-eldoc hides= c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-eldoc c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-edit hides = c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-edit c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-doc hides c= :/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-doc c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-describe hi= des c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-describe c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-debug hides= c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-debug c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-custom hide= s c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-custom c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-complete hi= des c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-complete c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-common hide= s c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-common c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-collection = hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-collection c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-cmd hides c= :/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-cmd c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-bug-report = hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-bug-report c:/sys/emacs/usr/.emacs.d/elpa/racket-mode-20201022.1304/racket-browse-url = hides c:/sys/emacs/share/emacs/site-lisp/my-racket-mode/racket-browse-url c:/sys/emacs/usr/.emacs.d/elpa/seq-2.23/seq hides c:/sys/emacs/share/emacs/= 27.1/lisp/emacs-lisp/seq Features: (shadow emacsbug sendmail qp gnus-html help-fns radix-tree url-cache vc-git diff-mode mhtml-mode css-mode smie eww mm-url url-queue color js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode pcmpl-unix em-unix em-term term ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs esh-var em-cmpl em-basic em-banner em-alias esh-mode eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util ibuf-ext ibuffer ibuffer-loaddefs mm-archive pp canlock warnings nnir mule-util sort gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml nndraft nnmh nnfolder gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom gnutls network-stream nsm nntp gnus-group gnus-undo cl gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rx text-property-search thingatpt compile cl-extra help-mode python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 format-spec comint ansi-color misearch multi-isearch time-date paredit edmacro kmacro easy-mmode finder-inf info elec-pair paren recentf tree-widget wid-edit saveplace winner ring windmove server time my package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 446989 94601) (symbols 48 29224 2) (strings 32 128086 11600) (string-bytes 1 3901474) (vectors 16 51405) (vector-slots 8 2463639 186586) (floats 8 535 466) (intervals 56 16557 934) (buffers 1000 64)) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 06:02:15 2022 Received: (at 58281) by debbugs.gnu.org; 4 Oct 2022 10:02:15 +0000 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 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 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==; 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 Date: Tue, 04 Oct 2022 13:02:04 +0300 Message-Id: <8335c3x5yb.fsf@gnu.org> From: Eli Zaretskii To: Wayne Harris 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) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line 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 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 07:01:37 2022 Received: (at control) by debbugs.gnu.org; 4 Oct 2022 11:01:37 +0000 Received: from localhost ([127.0.0.1]:52627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offg9-0004EA-BI for submit@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offg7-0004Dv-Ov for control@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XU3FLdE6UcpvQvuwrPXBYJe5s9BEQWwxpTDuEeDsXbI=; b=S3ujmCNoZhzETYytc+uXui540K 0WmOL6kxAJXYOBKkWsstihX1tCh9A8xxT4vzu38dyWhhEPf61/uaxrkXE/xjiKe3FJwSyGqtgZX7o A/ca/RJdMfh5av5U6Z3EXXqwxfrDqZqPBvaYPZ8QHDLNAa8JKwZTsAGsiIRO7BV9WklY=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1offg0-00036D-0O for control@debbugs.gnu.org; Tue, 04 Oct 2022 13:01:30 +0200 Date: Tue, 04 Oct 2022 13:01:27 +0200 Message-Id: <87lepv3la0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58281 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 58281 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 58281 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 11:38:07 2022 Received: (at 58281) by debbugs.gnu.org; 6 Oct 2022 15:38:07 +0000 Received: from localhost ([127.0.0.1]:33224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogSwn-0000sF-96 for submit@debbugs.gnu.org; Thu, 06 Oct 2022 11:38:06 -0400 Received: from mail-yb1-f179.google.com ([209.85.219.179]:38552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogPc9-0004MG-MT for 58281@debbugs.gnu.org; Thu, 06 Oct 2022 08:04:35 -0400 Received: by mail-yb1-f179.google.com with SMTP id c9so1963726ybf.5 for <58281@debbugs.gnu.org>; Thu, 06 Oct 2022 05:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=id.uff.br; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=w8VfoMGU38VVwGZuVSIL/onMCzQ+jZfw7YV6jdk3SEQ=; b=WU7Hc8hWjm2I7NSUKVnF5XP+x95UWz2vkBuQbEtjtJhGPGMCliTAjlJPgfJKdSTseD FrqLe92qOYTe+c6jxCcwsziwGi2elbbankXfrkLRiwLEfghOBjscTYqUhKm2/bGhjmWM vZP0Qd8N2vmRA2yJZPX85m84/yxIjwbrLFE4o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=w8VfoMGU38VVwGZuVSIL/onMCzQ+jZfw7YV6jdk3SEQ=; b=H5TWNgVYoy837yS87JR37oN3Dkl03VD9g35pa+bd1fSCt/W4lSjQvHaBJJXa8cKTjY N7gEg37tmz+1zW2rUeJi4yOkvaAW+q2KgahiCXEPXiqnfNf/ONMxg35CFS1CK0d7r+WT 7fNOKyjlTCGq38wfvFEoygmztStya6tIb3hhD9Nn+bCY5uXkI18mBvN/qvBshKheMYGu DJnnhgKDgxpkw6IpP76K4wgdRYzMnWDthtvpZ/5vSHMSCGJO5MO0bqgf69ihzW26wt4y 8h2SCVZbKF1k4PKbunFmvgz9Wt3TTLsMmExybtPq/2NkDQH43O7vPoZAnloNBmmkHkrx u3Jw== X-Gm-Message-State: ACrzQf1rAsLyw5q6dndpk628nLVW/kg8qcFke3y6dlvWvaa03qhPxypv Xo+l1+KtHa98VUeKMnIq86WyLCjFf4rJc51SRimCFA== X-Google-Smtp-Source: AMsMyM4pCWZT9In/eCBgYtal+6TO9Rk0EK8YhN39whMDZU9O2nS0UxGeItCiJnql/WOYNswfTBmHy6x16aVZsIOgbX0= X-Received: by 2002:a25:4282:0:b0:6be:9369:15bc with SMTP id p124-20020a254282000000b006be936915bcmr4149121yba.487.1665057867183; Thu, 06 Oct 2022 05:04:27 -0700 (PDT) MIME-Version: 1.0 References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> In-Reply-To: <8335c3x5yb.fsf@gnu.org> From: Daniel Bastos Date: Thu, 6 Oct 2022 09:03:50 -0300 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58281 X-Mailman-Approved-At: Thu, 06 Oct 2022 11:38:02 -0400 Cc: 58281@debbugs.gnu.org, Wayne Harris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Oct 4, 2022 at 7:02 AM Eli Zaretskii wrote: > > 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=C3=A9' > > [...] > > Sync done, wire bytes sent: 3234 received: 309 ip: 5.161.138.46 > > > > c:/my/path $ fs timeline -n 1 > > =3D=3D=3D 2022-10-02 =3D=3D=3D > > 13:11:20 [febbbf0441] *CURRENT* Naivet=C3=83=C2=A9 (user: mer tags: tru= nk) > > --- 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? I went to https://fossil-scm.org/home/uv/download.html and chose the last one --- Windows64 ---, which is the ZIP at https://fossil-scm.org/home/uv/fossil-w64-2.19.zip Inside this ZIP, there's a fossil.exe binary. All evidence points to a native Windows program, not a Cygwin program. %file c:/my/path/fossil.exe c:/my/path/fossil.exe: PE32+ executable (console) x86-64, for MS Windows % There's no fs.exe and no script fs. (Sorry about that.) That's just my alias in ESHELL. You can safely assume that /fs/ just means /fossil/. (I shouldn't have used the alias in this bug report. Sorry.) > Also, do you know whether Fossil expects the message text in some > particular encoding? That I don't know. I've looked into the documentation, but I did not find anything that looked relevant. I did find old commit messages in the repository of fossil itself that little by little the developers have been adding UTF-8 support to it. But I can't say it expects any particular encoding. Thank you for looking into this issue. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 04:45:42 2022 Received: (at 58281) by debbugs.gnu.org; 12 Oct 2022 08:45:42 +0000 Received: from localhost ([127.0.0.1]:55654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiXMz-0008Vs-Rx for submit@debbugs.gnu.org; Wed, 12 Oct 2022 04:45:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiXMu-0008Vb-TH for 58281@debbugs.gnu.org; Wed, 12 Oct 2022 04:45:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiXMl-0006CK-CP; Wed, 12 Oct 2022 04:45:28 -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=N8uVvFgPETYd/iZs8yl73oaSbRN45qs4ppcSd5ympog=; b=mF28K+Lqz8L4zVm61ERw d8lJmmD2zaQBOnOBTbld1r0sLRMU6mfsfNQJMO0z1q5qxeWH4gI7xfBQiNnHNNqaWbEzMuYdzsNHY lnZIwYfQTppAl34v38QKhclmwCp/0N1xzsI2cLbRbNDumCPtaOf9ks1ACUgFCWSjcI5R1lmkpItn8 Hpzeb/FqycqlX7mz5NTsa7EwGkG0rQAT1jZQsGWo2p9ALNV268IAr4s9QkE1QzBKtymgzN3sWel3E ywQWUWZACFC9/CvrYrz5/B4A0b7yKtmiyK/XRRrD2RYDDSbwqRKzEcTieTeXOYsd1JSFakcA98LY4 HZu1iedj5RS2rg==; Received: from [87.69.77.57] (port=3185 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 1oiXMk-0003zj-IV; Wed, 12 Oct 2022 04:45:27 -0400 Date: Wed, 12 Oct 2022 11:45:36 +0300 Message-Id: <83k055ctvz.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Thu, 6 Oct 2022 09:03:50 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org, dbastos@toledo.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Thu, 6 Oct 2022 09:03:50 -0300 > Cc: Wayne Harris , 58281@debbugs.gnu.org > > On Tue, Oct 4, 2022 at 7:02 AM Eli Zaretskii wrote: > > > 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? > > I went to > > https://fossil-scm.org/home/uv/download.html > > and chose the last one --- Windows64 ---, which is the ZIP at > > https://fossil-scm.org/home/uv/fossil-w64-2.19.zip > > Inside this ZIP, there's a fossil.exe binary. All evidence points to > a native Windows program, not a Cygwin program. > > %file c:/my/path/fossil.exe > c:/my/path/fossil.exe: PE32+ executable (console) x86-64, for MS Windows > % > > There's no fs.exe and no script fs. (Sorry about that.) That's just > my alias in ESHELL. You can safely assume that /fs/ just means > /fossil/. (I shouldn't have used the alias in this bug report. > Sorry.) > > > Also, do you know whether Fossil expects the message text in some > > particular encoding? > > That I don't know. I've looked into the documentation, but I did not > find anything that looked relevant. I did find old commit messages in > the repository of fossil itself that little by little the developers > have been adding UTF-8 support to it. But I can't say it expects any > particular encoding. I think you said at some point that using non-ASCII commit log messages from a shell outside of Emacs did succeed? If so, can you describe how you do that, i.e. which shell do you use and how you type 'Naiveté' from the shell? Also, what does the command "chcp" report in that shell, if you invoke it with no arguments? From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 07:50:32 2022 Received: (at 58281) by debbugs.gnu.org; 12 Oct 2022 11:50:32 +0000 Received: from localhost ([127.0.0.1]:55957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiaFm-00049P-VV for submit@debbugs.gnu.org; Wed, 12 Oct 2022 07:50:31 -0400 Received: from mail-yb1-f175.google.com ([209.85.219.175]:46649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiaFZ-00046N-TA for 58281@debbugs.gnu.org; Wed, 12 Oct 2022 07:50:23 -0400 Received: by mail-yb1-f175.google.com with SMTP id y205so19716392yby.13 for <58281@debbugs.gnu.org>; Wed, 12 Oct 2022 04:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=id.uff.br; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P5fK7K+8dtZxbBi8yBEs1t0suPLfv5iGjSOy67Wyp/U=; b=jgjJV7TUE/s/yVhUgBz83poaHJcOcWRZrzO6zT2RYRbKPTQDoWcG/OLSUH/RAzxZiD IQjZQXYIPTXiRtN8YyEQL3bHTqcPu351OHljKLFLazSZz84wajhM93ncxZ9yRnu3LWYg MVikiP/lPniSwXPP9mBXyEqaMn4dtS0X46lcQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P5fK7K+8dtZxbBi8yBEs1t0suPLfv5iGjSOy67Wyp/U=; b=ROhWH7ukjAT6T5pGAZu6A5Kh/dsC0R2+5ixFyCe4NXwoN/J3wol8Zu5RLEl0zx6WAH lXI8G5CG4oeZXgKczx0DVLxqVP+VsEteYk8sRc92/jZCA2dkDOocEb3QXZhCPku2oGaV NzeUYS+Po2vc0kqIiuKkpUhgEdzDFG1jpJ0BJT03tF5RI2VjpIZ/Bra627EKDqlkYpgQ Y3FztkFVB7MpawCW1NMVNfD2xRWIL6sWaEO0Kf13K8U2SlMvVXQdMMzXlbzI4feEQoYS 7LPeGD7gTK6TVkCOK+Z5jBJslrW9VySL8DMz+6BYcAE6NTOGHz/JEJwV3jiLZkIdwwvB vU+g== X-Gm-Message-State: ACrzQf09WSxtOlQuDcB0ql1YTSugmB1xWUe3qqjK/aESsWjfoQifXku+ rfE1MDKs/EtTLtJFtmPKVPtTRiQt5RglK4kVTo4mIdLRPBIZHw== X-Google-Smtp-Source: AMsMyM7wufZ9GGW9qNPC4e06RGlKpAHZWISFY+SXiI0n6HpGaOEZ38CwSA7bzWWIxZRmG649N0l8EjSqPje9tzHo7cg= X-Received: by 2002:a25:4282:0:b0:6be:9369:15bc with SMTP id p124-20020a254282000000b006be936915bcmr26231977yba.487.1665575408263; Wed, 12 Oct 2022 04:50:08 -0700 (PDT) MIME-Version: 1.0 References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> In-Reply-To: <83k055ctvz.fsf@gnu.org> From: Daniel Bastos Date: Wed, 12 Oct 2022 08:49:32 -0300 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Oct 12, 2022 at 5:45 AM Eli Zaretskii wrote: > > > From: Daniel Bastos > > Date: Thu, 6 Oct 2022 09:03:50 -0300 > > Cc: Wayne Harris , 58 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.175 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.175 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 URI_DOTEDU Has .edu URI X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Oct 12, 2022 at 5:45 AM Eli Zaretskii wrote: > > > From: Daniel Bastos > > Date: Thu, 6 Oct 2022 09:03:50 -0300 > > Cc: Wayne Harris , 58281@debbugs.gnu.org > > > > On Tue, Oct 4, 2022 at 7:02 AM Eli Zaretskii wrote: > > > > 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=C3=A9' > > > > [...] > > > > Sync done, wire bytes sent: 3234 received: 309 ip: 5.161.138.46 > > > > > > > > c:/my/path $ fs timeline -n 1 > > > > =3D=3D=3D 2022-10-02 =3D=3D=3D > > > > 13:11:20 [febbbf0441] *CURRENT* Naivet=C3=83=C2=A9 (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 som= e > > > kind of shell script, and if the latter, can you post the script? > > > > I went to > > > > https://fossil-scm.org/home/uv/download.html > > > > and chose the last one --- Windows64 ---, which is the ZIP at > > > > https://fossil-scm.org/home/uv/fossil-w64-2.19.zip > > > > Inside this ZIP, there's a fossil.exe binary. All evidence points to > > a native Windows program, not a Cygwin program. > > > > %file c:/my/path/fossil.exe > > c:/my/path/fossil.exe: PE32+ executable (console) x86-64, for MS Window= s > > % > > > > There's no fs.exe and no script fs. (Sorry about that.) That's just > > my alias in ESHELL. You can safely assume that /fs/ just means > > /fossil/. (I shouldn't have used the alias in this bug report. > > Sorry.) > > > > > Also, do you know whether Fossil expects the message text in some > > > particular encoding? > > > > That I don't know. I've looked into the documentation, but I did not > > find anything that looked relevant. I did find old commit messages in > > the repository of fossil itself that little by little the developers > > have been adding UTF-8 support to it. But I can't say it expects any > > particular encoding. > > I think you said at some point that using non-ASCII commit log > messages from a shell outside of Emacs did succeed? If so, can you Not from a shell but from a regular GNU EMACS buffer. I then showed an ESHELL session where I don't specify the commit message on the command-line and then emacsclientw was invoked. In the buffer that opened, I typed an UTF-8 encoded message and that was not mangled. --8<---------------cut here---------------start------------->8--- However, if instead of the command-line, I use a regular GNU EMACS buffer, it works just fine. %echo kkk >> encoding.txt %fs commit Pull from https://mer@somewhere.edu/test Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 437 received: 2118 ip: 5.161.138.46 emacsclientw ./ci-comment-A2803F45F10B.txt Waiting for Emacs... Pull from https://mer@somewhere.edu/test Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 441 received: 2118 ip: 5.161.138.46 New_Version: 09ea1b5d5b8d776d61a74bb412cd58bd8b6f82323c2f539a1eb0d915f7026f= 20 Sync with https://mer@somewhere.edu/test Round-trips: 1 Artifacts sent: 2 received: 0 Sync done, wire bytes sent: 2496 received: 309 ip: 5.161.138.46 %fs timeline =3D=3D=3D 2022-10-01 =3D=3D=3D 14:09:39 [09ea1b5d5b] *CURRENT* Naivet=C3=A9. (user: mer tags: trunk) --8<---------------cut here---------------end--------------->8--- > describe how you do that, i.e. which shell do you use and how you type > 'Naivet=C3=A9' from the shell? Also, what does the command "chcp" report > in that shell, if you invoke it with no arguments? I had not tested with a different shell. I'm testing it with cmd.exe below. The encoding is not mangled, but I don't know which encoding is applied there because I have no idea how cmd.exe works. The command chcp reports code page 850. --8<---------------cut here---------------start------------->8--- c:\my\path>chcp Active code page: 850 c:\my\path>fossil commit -m 'Naivet=C3=A9' Pull from https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 438 received: 3250 ip: 5.161.138.46 New_Version: 8cce649b5236e507e84ce8114ab273e3b9ea246dd00e42484b47ab86517cf0= 28 Sync with https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 2 received: 0 Sync done, wire bytes sent: 3615 received: 307 ip: 5.161.138.46 c:\my\path>fossil timeline -n 1 =3D=3D=3D 2022-10-12 =3D=3D=3D 11:31:30 [8cce649b52] *CURRENT* 'Naivet=C3=A9' (user: mer tags: trunk) --- entry limit (1) reached --- c:\my\path> --8<---------------cut here---------------end--------------->8--- However, there is some evidence that UTF-8 is the encoding used by cmd.exe. I committed again with the message "=C3=A1gua aaaaa". --8<---------------cut here---------------start------------->8--- c:\my\path>fossil timeline -n 1 =3D=3D=3D 2022-10-12 =3D=3D=3D 11:38:30 [148c174ad3] *CURRENT* =C3=A1gua aaaaa (user: mer tags: trunk) --- entry limit (1) reached --- --8<---------------cut here---------------end--------------->8--- I know "=C3=A1" encodes to the two-byte c3 a1 in UTF-8. Asking /od/ to show me the byte sequence, I see the c3 a1 in there. First notice the position of the two-byte sequence of interest --- it's in line 0000060 at the 4th column. --8<---------------cut here---------------start------------->8--- c:\my\path>fossil timeline -n 1 | od -t c 0000000 =3D =3D =3D 2 0 2 2 - 1 0 - 1 2 = =3D 0000020 =3D =3D \n 1 1 : 3 8 : 3 0 [ 1 4 8 0000040 c 1 7 4 a d 3 ] * C U R R E N 0000060 T * =C3=83 =C2=A1 g u a a a a a a = ( [...] --8<---------------cut here---------------end--------------->8--- If we look at which bytes are there, we find c3 a1. I do not understand this: I have no idea why my cmd.exe is UTF-8 encoding anything. --8<---------------cut here---------------start------------->8--- c:\my\path>fossil timeline -n 1 | od -t x1 0000000 3d 3d 3d 20 32 30 32 32 2d 31 30 2d 31 32 20 3d 0000020 3d 3d 0a 31 31 3a 33 38 3a 33 30 20 5b 31 34 38 0000040 63 31 37 34 61 64 33 5d 20 2a 43 55 52 52 45 4e 0000060 54 2a 20 c3 a1 67 75 61 20 61 61 61 61 61 20 28 [...] --8<---------------cut here---------------end--------------->8--- Feel free to ask me any further questions. Thank you! From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 12:35:49 2022 Received: (at 58281) by debbugs.gnu.org; 12 Oct 2022 16:35:49 +0000 Received: from localhost ([127.0.0.1]:58331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiehw-0002Zk-QT for submit@debbugs.gnu.org; Wed, 12 Oct 2022 12:35:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiehu-0002ZW-O3 for 58281@debbugs.gnu.org; Wed, 12 Oct 2022 12:35:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiehn-000286-Dh; Wed, 12 Oct 2022 12:35:39 -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=atBC5KqOPuxWF+g6qNZDYtfVylH5uRnJTzrJO6yJkD0=; b=gKx07YKpIaPCoPybE2gj SGxP2nBI3PLw7oox1390LTjDzyC105kQ5MNxqPJHequxj7CcjnHBfopyyYk8AOJ1lXmtqZbxOaDx1 CBBilGXXFxcDQ8UYKWHvB+EYc9t+NydmMJytEw4oMYpubr62Rku2/2KnTQG+tOsIrvRNS2aSsfAfF b5tT50MxnbmPqh4VGT1FNqRJxp7oTvLozF2qH9RfGjLjdtJ677ZlVkC/rbLy+UF1YJJY/jYk6r8lB T879/vhs4FhzjEGxfn6ocpwUeGOUV3/fcKgcAO4Mmv5525iIgDKEkktCYHsAkFxKpVBlKS8igVRgI rJClBiAmhec+Qw==; Received: from [87.69.77.57] (port=4206 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 1oiehm-0008Di-S1; Wed, 12 Oct 2022 12:35:39 -0400 Date: Wed, 12 Oct 2022 19:35:49 +0300 Message-Id: <83h709atju.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Wed, 12 Oct 2022 08:49:32 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Wed, 12 Oct 2022 08:49:32 -0300 > Cc: 58281@debbugs.gnu.org > > > I think you said at some point that using non-ASCII commit log > > messages from a shell outside of Emacs did succeed? If so, can you > > Not from a shell but from a regular GNU EMACS buffer. I then showed > an ESHELL session where I don't specify the commit message on the > command-line and then emacsclientw was invoked. In the buffer that > opened, I typed an UTF-8 encoded message and that was not mangled. > > --8<---------------cut here---------------start------------->8--- > However, if instead of the command-line, I use a regular GNU EMACS > buffer, it works just fine. > > %echo kkk >> encoding.txt > > %fs commit > Pull from https://mer@somewhere.edu/test > Round-trips: 1 Artifacts sent: 0 received: 0 > Pull done, wire bytes sent: 437 received: 2118 ip: 5.161.138.46 > emacsclientw ./ci-comment-A2803F45F10B.txt > Waiting for Emacs... > Pull from https://mer@somewhere.edu/test > Round-trips: 1 Artifacts sent: 0 received: 0 > Pull done, wire bytes sent: 441 received: 2118 ip: 5.161.138.46 > New_Version: 09ea1b5d5b8d776d61a74bb412cd58bd8b6f82323c2f539a1eb0d915f7026f20 > Sync with https://mer@somewhere.edu/test > Round-trips: 1 Artifacts sent: 2 received: 0 > Sync done, wire bytes sent: 2496 received: 309 ip: 5.161.138.46 > > %fs timeline > === 2022-10-01 === > 14:09:39 [09ea1b5d5b] *CURRENT* Naiveté. (user: mer tags: trunk) > --8<---------------cut here---------------end--------------->8--- I don't understand what that means, sorry. There's a lot of stuff that isn't relevant to the issue at hand (and I'm not familiar with fossil, so its detailed output makes no difference to me). But there's no description of what you did in plain English, which I could read and understand. I'm guessing that emacsclientw was invoked to edit a file with the commit log message, and the commit command then used that edited file. If that is true, then there's no wonder this works: the problem you experience only happens if the commit log message is passed to fossil through the command-line arguments, not through a disk file. > > describe how you do that, i.e. which shell do you use and how you type > > 'Naiveté' from the shell? Also, what does the command "chcp" report > > in that shell, if you invoke it with no arguments? > > I had not tested with a different shell. I'm testing it with cmd.exe > below. The encoding is not mangled, but I don't know which encoding > is applied there because I have no idea how cmd.exe works. The > command chcp reports code page 850. If chcp says codepage 850, then cmd.exe uses that codepage to encode. And my reading of the fossil source code is that it converts the command-line arguments from the codepage-encoding to UTF-8 internally. > > --8<---------------cut here---------------start------------->8--- > c:\my\path>chcp > Active code page: 850 > > c:\my\path>fossil commit -m 'Naiveté' > Pull from https://mer@somewhere.edu/mer > Round-trips: 1 Artifacts sent: 0 received: 0 > Pull done, wire bytes sent: 438 received: 3250 ip: 5.161.138.46 > New_Version: 8cce649b5236e507e84ce8114ab273e3b9ea246dd00e42484b47ab86517cf028 > Sync with https://mer@somewhere.edu/mer > Round-trips: 1 Artifacts sent: 2 received: 0 > Sync done, wire bytes sent: 3615 received: 307 ip: 5.161.138.46 > > c:\my\path>fossil timeline -n 1 > === 2022-10-12 === > 11:31:30 [8cce649b52] *CURRENT* 'Naiveté' (user: mer tags: trunk) > --- entry limit (1) reached --- > > c:\my\path> > --8<---------------cut here---------------end--------------->8--- So now the question is why Eshell doesn't use the cp850 encoding when you tell it? What happens if you say C-x RET f cp850 RET in the Eshell buffer before invoking the commit command? > However, there is some evidence that UTF-8 is the encoding used by > cmd.exe. I committed again with the message "água aaaaa". > > --8<---------------cut here---------------start------------->8--- > c:\my\path>fossil timeline -n 1 > === 2022-10-12 === > 11:38:30 [148c174ad3] *CURRENT* água aaaaa (user: mer tags: trunk) > --- entry limit (1) reached --- > --8<---------------cut here---------------end--------------->8--- > > I know "á" encodes to the two-byte c3 a1 in UTF-8. Asking /od/ to > show me the byte sequence, I see the c3 a1 in there. First notice the > position of the two-byte sequence of interest --- it's in line 0000060 > at the 4th column. > > --8<---------------cut here---------------start------------->8--- > c:\my\path>fossil timeline -n 1 | od -t c > 0000000 = = = 2 0 2 2 - 1 0 - 1 2 = > 0000020 = = \n 1 1 : 3 8 : 3 0 [ 1 4 8 > 0000040 c 1 7 4 a d 3 ] * C U R R E N > 0000060 T * à ¡ g u a a a a a a ( > [...] > --8<---------------cut here---------------end--------------->8--- > > If we look at which bytes are there, we find c3 a1. I do not > understand this: I have no idea why my cmd.exe is UTF-8 encoding > anything. It doesn't. What you see is the result of fossil's internal conversion to UTF-8, not what cmd.exe passed to fossil. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 12:54:34 2022 Received: (at 58281) by debbugs.gnu.org; 12 Oct 2022 16:54:35 +0000 Received: from localhost ([127.0.0.1]:58348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oif06-00034U-Kd for submit@debbugs.gnu.org; Wed, 12 Oct 2022 12:54:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oif03-00034H-Uc for 58281@debbugs.gnu.org; Wed, 12 Oct 2022 12:54:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiezr-0004em-DD; Wed, 12 Oct 2022 12:54:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Seo1FqG9fAEmuBqk5QEfhmvj8ZNXYXMAzUeQN40UQL8=; b=gPc9zi/q8zYl E1HdaIuNbLRbgLgcOdpiygGoQR5AzSrcAEUItZJitCSMulFPhHdC0tjrp3sVP1TFpNIdwrEHZN8Rh +qFSJXWE9Dl/CzAshPcGwSCGyxecMnMh8xIn2NFROOSEn8qH+62HXSK3+rXZXVRi7u/I+YUCsGA3b aDgcHfauzTXZ0ASysWuT8/w0HDdD0bapB1Tttk/DUvU0NCC+4AgolDlxgbQ2v0toPYYaVX54AAPwB M0nZmDm4AvTsXz57MWc5w27+tCuOW2irwW9km2NcXbqt4WMBP9XhXAfTXJVsF8xTHtUCibDv33a49 3aVYqNItDH8yEM72Nnfn9g==; Received: from [87.69.77.57] (port=1405 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 1oiezn-0002u3-Bw; Wed, 12 Oct 2022 12:54:17 -0400 Date: Wed, 12 Oct 2022 19:54:27 +0300 Message-Id: <83fsftasos.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Wed, 12 Oct 2022 08:49:32 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Wed, 12 Oct 2022 08:49:32 -0300 > Cc: 58281@debbugs.gnu.org In addition to what I just wrote, please try this: As soon as you start Emacs, type: M-: (setq default-process-coding-system '(undecided-dos . cp850-dos)) RET Then enter Eshell and try the fossil command you tried before. See if this solves the problem. I think I found a bug in Eshell that the above workaround should side-step. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 15 07:02:40 2022 Received: (at 58281) by debbugs.gnu.org; 15 Oct 2022 11:02:40 +0000 Received: from localhost ([127.0.0.1]:39602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojewC-0000TR-7K for submit@debbugs.gnu.org; Sat, 15 Oct 2022 07:02:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojew7-0000TA-CZ for 58281@debbugs.gnu.org; Sat, 15 Oct 2022 07:02:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojevz-0004Ko-Sn; Sat, 15 Oct 2022 07:02:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Q49Jpmj0ppEKwzvK/XXcrN8czVTV2ksaDxw+SDPjdxQ=; b=aeZz4dnL6lFc UNgXtN7BsE9ZBJ9W1DnKdJ12/r5rLVtgDhrxEykrCNT+uEw2mI/YmmJsOamlsITGTh3uueoJkXXGB 34GNWy6mVeQZBMKvjugZPfWixaXjhpWcDwiBphkCV94UKvrpZUJBrwvDpBlOksx4Mj50OpsYy/vSS DWpls7fR1eA7J+j7hithSGOYAcAxZfYvKD6FGT4mT+oyIv+YJ3Z3XsjWYifMZoWViEX93rzeP8g/c LUFuPuFzI+JyIes9Gcj3eRnIGOCIfjcX4TukJSNCzQa7vb8W5OVRBpTpvRvgsXl58muKFVVL7b47w PSUZgCYxYWquOo3pZZsWOA==; Received: from [87.69.77.57] (port=2390 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 1ojevz-0001qy-Bu; Sat, 15 Oct 2022 07:02:27 -0400 Date: Sat, 15 Oct 2022 14:02:16 +0300 Message-Id: <835ygl73k7.fsf@gnu.org> From: Eli Zaretskii To: dbastos@id.uff.br In-Reply-To: <83fsftasos.fsf@gnu.org> (message from Eli Zaretskii on Wed, 12 Oct 2022 19:54:27 +0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 58281@debbugs.gnu.org > Date: Wed, 12 Oct 2022 19:54:27 +0300 > From: Eli Zaretskii > > > From: Daniel Bastos > > Date: Wed, 12 Oct 2022 08:49:32 -0300 > > Cc: 58281@debbugs.gnu.org > > In addition to what I just wrote, please try this: As soon as you > start Emacs, type: > > M-: (setq default-process-coding-system '(undecided-dos . cp850-dos)) RET > > Then enter Eshell and try the fossil command you tried before. See if > this solves the problem. > > I think I found a bug in Eshell that the above workaround should > side-step. I've now installed a change for Emacs 29 that I think should fix your problems. So if you can try the current master branch of the Emacs Git repository, please do, and see if your problem with Fossil are solved there. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 06 02:20:56 2022 Received: (at 58281) by debbugs.gnu.org; 6 Nov 2022 07:20:56 +0000 Received: from localhost ([127.0.0.1]:58593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orZxg-0000pN-0h for submit@debbugs.gnu.org; Sun, 06 Nov 2022 02:20:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orZxb-0000p7-Nk for 58281@debbugs.gnu.org; Sun, 06 Nov 2022 02:20:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orZxU-00083a-Kp; Sun, 06 Nov 2022 02:20:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MbI1lDtmI63W81k5c1SJWkDkmwQ6X83B4SV9WFfGRcY=; b=q0xX+V2leL9S 2hkasP4nV47JHvrfm86XzAWyGqCA6+KlcSVcI68QS6yBBqEVBp+jXmbUIiIBphW7mRpleOvVKqsTX JdJGG232Xu8Qhwj5Wnf020oDEcsC41ZoEh1JGp1+YdIGGVwjmBWwyEzfQZ8tcqryBt5vznbpoFv31 JHW5M2XYIaslI0BJKjasjpd1JUb53xPHveHEdlUhEXHWdUpBbodEH2LyZk5lWf3PMo+1zbHpCAVk6 z4t+HN593v4ccZfUDLi6Y5WHDHCJvbDGM2qqEyIHfGRF/lg/xlhuuuzSL782gqlLHAXzEncS5Xpor JXV27/k//kOuWiEI/pAkww==; Received: from [87.69.77.57] (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 1orZxT-0003bl-Ut; Sun, 06 Nov 2022 02:20:44 -0500 Date: Sun, 06 Nov 2022 09:20:26 +0200 Message-Id: <834jvc35xh.fsf@gnu.org> From: Eli Zaretskii To: dbastos@id.uff.br In-Reply-To: <835ygl73k7.fsf@gnu.org> (message from Eli Zaretskii on Sat, 15 Oct 2022 14:02:16 +0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Did you have a chance to test the changes I installed? > Cc: 58281@debbugs.gnu.org > Date: Sat, 15 Oct 2022 14:02:16 +0300 > From: Eli Zaretskii > > > Cc: 58281@debbugs.gnu.org > > Date: Wed, 12 Oct 2022 19:54:27 +0300 > > From: Eli Zaretskii > > > > > From: Daniel Bastos > > > Date: Wed, 12 Oct 2022 08:49:32 -0300 > > > Cc: 58281@debbugs.gnu.org > > > > In addition to what I just wrote, please try this: As soon as you > > start Emacs, type: > > > > M-: (setq default-process-coding-system '(undecided-dos . cp850-dos)) RET > > > > Then enter Eshell and try the fossil command you tried before. See if > > this solves the problem. > > > > I think I found a bug in Eshell that the above workaround should > > side-step. > > I've now installed a change for Emacs 29 that I think should fix your > problems. So if you can try the current master branch of the Emacs > Git repository, please do, and see if your problem with Fossil are > solved there. > > Thanks. > > > > From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 14:40:53 2022 Received: (at 58281) by debbugs.gnu.org; 7 Nov 2022 19:40:53 +0000 Received: from localhost ([127.0.0.1]:35325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os7zI-0005lF-St for submit@debbugs.gnu.org; Mon, 07 Nov 2022 14:40:53 -0500 Received: from mail-yb1-f178.google.com ([209.85.219.178]:39877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os7zC-0005kv-Hh for 58281@debbugs.gnu.org; Mon, 07 Nov 2022 14:40:51 -0500 Received: by mail-yb1-f178.google.com with SMTP id j2so14871120ybb.6 for <58281@debbugs.gnu.org>; Mon, 07 Nov 2022 11:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=id.uff.br; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wQjtJVUdCDc7N8vfqcSqEH7NXPFqpdU+d3fmK6Fkef0=; b=iBQPD1zD5lbh2Z8VT8dJ5nvMQZjJAGjeDiaCUrPBjogGzuSWVOlSZj1ogzbS1lojZz UUZUO63VsRfXEUnRTLuEbzG4DIT+dUzuDnJITsa0Cg2pcMphqmOOhNG3SH+LEybCMbsd LMm/6YSnoXRM2NjhO9ZVdU4ravB6EjHQOTfYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wQjtJVUdCDc7N8vfqcSqEH7NXPFqpdU+d3fmK6Fkef0=; b=Z8AJrnn4pU1RleSZ7gHbng3Qs6NoYuUun2NYcp2WvcV0duGQ+3pj6upAkNLauE8Whd 1GI+7145Yi3I3SDNnKDw0om2PM33FtQwROBq1JriJ1Ghn9XdVJa1Od25rDB8o/la/UdT VdDAz+xBgwXGSZ2l9qhzx0IIEJWD/9vVjnZMeyuawaoSDxjfZiVp4CUcQrzeYqEKL27X kY+qzm7XWzN5pk25eux4BYG/8GLsvHeOrl7h6kEJiUnrw4IHvu7dx/pY8Zz21ZuQpEKz 41n8ey6qkktx3TK3x/dWU4A8q6Zemam8Ojt//3SiTu88Hd09+w+gyywVk1y6RqiGFsmz R+2Q== X-Gm-Message-State: ACrzQf3UGp0Lv5tdjwwaNQqYbmCmEGDaXMcxN+E/4DiWSe4BI/vKxy4f WV66hqBZoxnNSMmy2Pz93zspA7sogBuTZpRZSg6BUr+nbps6Ww== X-Google-Smtp-Source: AMsMyM5kU0Xras+fIxcAP9ydWSfUwXzbzgNfpe/Ai5eF73Qzl8kdU3aR3viE6tuKngwm1SO9EKi0I67bLSAbogH5cFY= X-Received: by 2002:a05:6902:1cb:b0:6cf:e925:5baa with SMTP id u11-20020a05690201cb00b006cfe9255baamr29470484ybh.636.1667850040793; Mon, 07 Nov 2022 11:40:40 -0800 (PST) MIME-Version: 1.0 References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> In-Reply-To: <834jvc35xh.fsf@gnu.org> From: Daniel Bastos Date: Mon, 7 Nov 2022 16:40:04 -0300 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pong! I'm so sorry I've delayed this so much. (It's been in my inbox, though, so it would not be forgotten.) On Sun, Nov 6, 2022 at 4:20 AM Eli Zaretskii wrote: > > Ping! Did you have a chance to test the changes I installed? > > > Cc: 58281@debbugs.gnu.org > > Date: Sat, 15 Oct 2022 14:02:16 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.178 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.178 listed in wl.mailspike.net] 2.0 URI_DOTEDU Has .edu URI X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pong! I'm so sorry I've delayed this so much. (It's been in my inbox, though, so it would not be forgotten.) On Sun, Nov 6, 2022 at 4:20 AM Eli Zaretskii wrote: > > Ping! Did you have a chance to test the changes I installed? > > > Cc: 58281@debbugs.gnu.org > > Date: Sat, 15 Oct 2022 14:02:16 +0300 > > From: Eli Zaretskii > > > > > Cc: 58281@debbugs.gnu.org > > > Date: Wed, 12 Oct 2022 19:54:27 +0300 > > > From: Eli Zaretskii > > > > > > > From: Daniel Bastos > > > > Date: Wed, 12 Oct 2022 08:49:32 -0300 > > > > Cc: 58281@debbugs.gnu.org > > > > > > In addition to what I just wrote, please try this: As soon as you > > > start Emacs, type: > > > > > > M-: (setq default-process-coding-system '(undecided-dos . cp850-dos= )) RET > > > > > > Then enter Eshell and try the fossil command you tried before. See i= f > > > this solves the problem. It did not. I ran emacs -Q, evaluated the code above and tried this: c:/my/path $ (print default-process-coding-system) (undecided-dos . cp850-dos) c:/my/path $ fossil changes ADDED hello.txt c:/my/path $ fossil commit -m 'Naivet=C3=A9.' Pull from https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 439 received: 3830 ip: 5.161.138.46 New_Version: 092b3d5d04247d6b0784957dee568958838788585417e5be474ed8d67a15d9= b8 Sync with https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 2 received: 0 Sync done, wire bytes sent: 4206 received: 308 ip: 5.161.138.46 c:/my/path $ fossil timeline -n 1 =3D=3D=3D 2022-11-07 =3D=3D=3D 18:39:38 [092b3d5d04] *CURRENT* Naivet=E2=80=9A. (user: mer tags: trunk) --- entry limit (1) reached --- So the accented letter came out as a comma and a period. > > > I think I found a bug in Eshell that the above workaround should > > > side-step. > > > > I've now installed a change for Emacs 29 that I think should fix your > > problems. So if you can try the current master branch of the Emacs > > Git repository, please do, and see if your problem with Fossil are > > solved there. I'm not sure which is "Emacs 29". I took the master branch https://git.savannah.gnu.org/cgit/emacs.git/ right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to compile it using MSYS32 in a MINGW64 shell. After building the runemacs.exe, I ran it with the option -Q and I see the version is GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 I get the following behavior: c:/my/path $ fossil commit -m 'Naivet=C3=A9.' Pull from https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 438 received: 3908 ip: 5.161.138.46 New_Version: e3d8a268759a5e968f132043404eecb4ea5068135fcebd0d35b6b668eb8404= a2 Sync with https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 2 received: 0 Sync done, wire bytes sent: 4297 received: 309 ip: 5.161.138.46 c:/my/path $ fossil timeline -n 1 =3D=3D=3D 2022-11-07 =3D=3D=3D 19:29:10 [e3d8a26875] *CURRENT* Naivet=C3=83=C2=A9. (user: mer tags: trunk) --- entry limit (1) reached --- As a second try, I'm going to set the variable default-process-coding-system as you suggested above and try again, restarting the GNU EMACS first --- just in case. Restarted, ran ESHELL and... c:/my/path $ (print default-process-coding-system) (undecided-dos . undecided-unix) c:/my/path $ (setq default-process-coding-system '(undecided-dos . cp850-do= s)) (undecided-dos . cp850-dos) c:/my/path $ (print default-process-coding-system) (undecided-dos . cp850-dos) c:/my/path $ # it's set c:/my/path $ fossil commit -m 'Naivet=C3=A9.' Pull from https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, wire bytes sent: 440 received: 3984 ip: 5.161.138.46 New_Version: c51f1ff698f2964f2f06b7e4ca1ae672fb12f6e3e0599f616ff24658930185= d2 Sync with https://mer@somewhere.edu/mer Round-trips: 1 Artifacts sent: 2 received: 0 Sync done, wire bytes sent: 4341 received: 309 ip: 5.161.138.46 c:/my/path $ fossil timeline -n 1 =3D=3D=3D 2022-11-07 =3D=3D=3D 19:35:10 [c51f1ff698] *CURRENT* Naivet=C3=83=C2=A9. (user: mer tags: trunk) --- entry limit (1) reached --- It seems to me we get the same result. Thank you. I can test and retest this. Just let me know. It will be easier for me now because I already have all that it takes to compile the GNU EMACS here. Thank you. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 15:11:14 2022 Received: (at 58281) by debbugs.gnu.org; 7 Nov 2022 20:11:14 +0000 Received: from localhost ([127.0.0.1]:35489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8Sg-0006jV-9m for submit@debbugs.gnu.org; Mon, 07 Nov 2022 15:11:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8SW-0006it-Ag for 58281@debbugs.gnu.org; Mon, 07 Nov 2022 15:11:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os8SP-000270-CJ; Mon, 07 Nov 2022 15:10:57 -0500 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=z8xjgcsiMGq7CETXpw8Q+5TZu2VxYT22La+QTBt7ihc=; b=POnmXcJt4OPlgmvPqo/C qVV6ZigIp+b/hxjAtSB0nmjGuxzHVbatv7UktdGXP9Yy8GlixcOaGyTiKe7zUu0F5sVPjaAeuU4RM tmTwHunvQUAkyy2Z1okc9MSScPKxxmSm7EsUaOlthd7z6oazSele3+nfWkf6fhNLQ6dBoSx/14UOE Pj4v0DhXuU3E63AqcOunsBv2NZ1k5XpO1Zbr2AU8ulSQeNBCnNL6PA012/bjh9z8IiVljwzzoSfeI 26TCDjSgQvI1ga7jnZveDWf8aUcjhy8Fd5KC1jeqtTKOsm1okO7buypZxX/EqtVsYAUPQMN9JD0/z R1bIQgHUU4stOA==; Received: from [87.69.77.57] (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 1os8SO-0003Oc-SK; Mon, 07 Nov 2022 15:10:57 -0500 Date: Mon, 07 Nov 2022 22:10:42 +0200 Message-Id: <83wn86y18d.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Mon, 7 Nov 2022 16:40:04 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Mon, 7 Nov 2022 16:40:04 -0300 > Cc: 58281@debbugs.gnu.org > > > > I've now installed a change for Emacs 29 that I think should fix your > > > problems. So if you can try the current master branch of the Emacs > > > Git repository, please do, and see if your problem with Fossil are > > > solved there. > > I'm not sure which is "Emacs 29". I took the master branch > > https://git.savannah.gnu.org/cgit/emacs.git/ > > right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to > compile it using MSYS32 in a MINGW64 shell. After building the > runemacs.exe, I ran it with the option -Q and I see the version is > > GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 > > I get the following behavior: > > c:/my/path $ fossil commit -m 'Naiveté.' > Pull from https://mer@somewhere.edu/mer > Round-trips: 1 Artifacts sent: 0 received: 0 > Pull done, wire bytes sent: 438 received: 3908 ip: 5.161.138.46 > New_Version: e3d8a268759a5e968f132043404eecb4ea5068135fcebd0d35b6b668eb8404a2 > Sync with https://mer@somewhere.edu/mer > Round-trips: 1 Artifacts sent: 2 received: 0 > Sync done, wire bytes sent: 4297 received: 309 ip: 5.161.138.46 > c:/my/path $ fossil timeline -n 1 > === 2022-11-07 === > 19:29:10 [e3d8a26875] *CURRENT* Naiveté. (user: mer tags: trunk) What do you see if you run "fossil timeline -n 1" from the shell outside of Emacs? does it show "Naiveté" as expected? If it does, then what you see above is a secondary and much less serious problem; the repository is OK. If that doesn't work, then I can only say that I tested this change with a program other than fossil, assuming fossil uses the system codepage. It worked for me with that other program: any text I wrote on the command line was received and processed by the program as I expected. Maybe fossil doesn't use the system codepage, in which case it doesn't play by the rules of a Windows console program, and I don't know what else we could do with this. Sorry. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 15:24:17 2022 Received: (at 58281) by debbugs.gnu.org; 7 Nov 2022 20:24:17 +0000 Received: from localhost ([127.0.0.1]:35499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8fJ-000738-6k for submit@debbugs.gnu.org; Mon, 07 Nov 2022 15:24:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8fG-00072u-Ei for 58281@debbugs.gnu.org; Mon, 07 Nov 2022 15:24:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os8f7-00043f-JR; Mon, 07 Nov 2022 15:24:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FmKESPdMeVGJWLddHCPXubK1u22j2hp/had7zV1kYII=; b=aR8E5ZeWhGjp kRa7x2ciUHTnOkoNJEJgpqpZeHN32jVetqq9jydv7ooxI1e5/ljwqxOBJY006BT+VsyFn9D675Q8h h9lgbbnlph0GiEZtlOrOjd472xgmNEnijIMZipmMzqTROj1NqPJUkj5ZpmbBH1sVznZuKVeAtmAdB CigFJsDksNFLgRmmZ6cjGnqza5C7f+q2GlHcxcVMniS44uBqh8RfwU/qCGfocciEBtD28F5W9gYVY v6OZUkRjq7zUL6BGcawccQVWUkKoBSWjSL5HKUZrd/6ZfSElPqYoVtBOVhx3+eCOP8WW05WWxga/5 zY9Xh7gmAdr/dQ7cAv0TLA==; Received: from [87.69.77.57] (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 1os8f6-0003Xg-Ii; Mon, 07 Nov 2022 15:24:05 -0500 Date: Mon, 07 Nov 2022 22:23:49 +0200 Message-Id: <83v8nqy0mi.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Mon, 7 Nov 2022 16:40:04 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Mon, 7 Nov 2022 16:40:04 -0300 > Cc: 58281@debbugs.gnu.org > > > > I've now installed a change for Emacs 29 that I think should fix your > > > problems. So if you can try the current master branch of the Emacs > > > Git repository, please do, and see if your problem with Fossil are > > > solved there. > > I'm not sure which is "Emacs 29". I took the master branch > > https://git.savannah.gnu.org/cgit/emacs.git/ > > right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to > compile it using MSYS32 in a MINGW64 shell. After building the > runemacs.exe, I ran it with the option -Q and I see the version is > > GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 > > I get the following behavior: Btw, what is the value of locale-coding-system in this case for you in Emacs 29? From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 17:39:19 2022 Received: (at 58281) by debbugs.gnu.org; 7 Nov 2022 22:39:19 +0000 Received: from localhost ([127.0.0.1]:35621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osAlz-0006QT-59 for submit@debbugs.gnu.org; Mon, 07 Nov 2022 17:39:19 -0500 Received: from mail-yw1-f171.google.com ([209.85.128.171]:38807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osAlw-0006QE-W7 for 58281@debbugs.gnu.org; Mon, 07 Nov 2022 17:39:17 -0500 Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-3321c2a8d4cso118497467b3.5 for <58281@debbugs.gnu.org>; Mon, 07 Nov 2022 14:39:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=id.uff.br; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WQSqkm8QOUjqxWAzGKzo6ZzsF5c+6akXX7L2CE8nIVI=; b=Atd/SkkA8vQoo/Q+TvCGVUdggn69btehdiACmhq7jEkDgSdOd1frHgnsM+0u5OQtVJ 7U13nPP1I6Q3WRxi/sEC1XJsZaVOnmbqO5hPe66plifvhUzVDaliDhaoTBtZNnkNGyUv 6k/2jJkaD99qlDPinVMDEoeq1lQQGi46E06Lk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WQSqkm8QOUjqxWAzGKzo6ZzsF5c+6akXX7L2CE8nIVI=; b=sI6TVTjE0Dgfa2WOWm/FPdjR89/R+EuKnGzO8k4XVIcyXOm5lDgy3DbAgmaOrlqVxS k5qF2TRDTpp2UxHGQhBvQ4jEhgQ4is45QgD0xT0IHHV33xlYV3df3jTcpQiO5+14x79M 3cwlK8jw8d/qWyI8OO3lmKlLdo4uBNlFlX8MBktThinooGtgy/BiEVppuAWI2xkBcEHX WWigoFOTmraHw4It9QXJlOTjD88GwgpB9wIEdSPTU9CeGpvlTbmJTPpUEXROR/5QWoT5 u2vlg2CgBETA4o/t/bvxj1UetA6aeXWsBmnkaYGTRBB4JrbFzMu88JLiYRj2PYqnZRt6 OFOA== X-Gm-Message-State: ACrzQf2ni8OlDNGVpvB17aGXDmqkeLp+FGzEd5u17JfK+q6GKb60weSd Pmud8L2eLlSvgatBy132T/XBKwsLpC6DQLeW5geG8A== X-Google-Smtp-Source: AMsMyM4RVhx86uOg9ZTbAgW2kvwtgFoxt8dhnhQLOU5A2auJLbeWVgU70nNe0SvpS1muGUW0Ub1WG2V4UAE8msBiOhg= X-Received: by 2002:a81:6f88:0:b0:35f:df0e:3a7a with SMTP id k130-20020a816f88000000b0035fdf0e3a7amr51379109ywc.416.1667860751169; Mon, 07 Nov 2022 14:39:11 -0800 (PST) MIME-Version: 1.0 References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> <83wn86y18d.fsf@gnu.org> In-Reply-To: <83wn86y18d.fsf@gnu.org> From: Daniel Bastos Date: Mon, 7 Nov 2022 19:38:35 -0300 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, Nov 7, 2022 at 5:10 PM Eli Zaretskii wrote: > > > From: Daniel Bastos > > Date: Mon, 7 Nov 2022 16:40:04 -0300 > > Cc: 58281@debbugs.gnu.org > > > > > > I've [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.171 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.171 listed in wl.mailspike.net] 2.0 URI_DOTEDU Has .edu URI X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Nov 7, 2022 at 5:10 PM Eli Zaretskii wrote: > > > From: Daniel Bastos > > Date: Mon, 7 Nov 2022 16:40:04 -0300 > > Cc: 58281@debbugs.gnu.org > > > > > > I've now installed a change for Emacs 29 that I think should fix yo= ur > > > > problems. So if you can try the current master branch of the Emacs > > > > Git repository, please do, and see if your problem with Fossil are > > > > solved there. > > > > I'm not sure which is "Emacs 29". I took the master branch > > > > https://git.savannah.gnu.org/cgit/emacs.git/ > > > > right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to > > compile it using MSYS32 in a MINGW64 shell. After building the > > runemacs.exe, I ran it with the option -Q and I see the version is > > > > GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 > > > > I get the following behavior: > > > > c:/my/path $ fossil commit -m 'Naivet=C3=A9.' > > Pull from https://mer@somewhere.edu/mer > > Round-trips: 1 Artifacts sent: 0 received: 0 > > Pull done, wire bytes sent: 438 received: 3908 ip: 5.161.138.46 > > New_Version: e3d8a268759a5e968f132043404eecb4ea5068135fcebd0d35b6b668eb= 8404a2 > > Sync with https://mer@somewhere.edu/mer > > Round-trips: 1 Artifacts sent: 2 received: 0 > > Sync done, wire bytes sent: 4297 received: 309 ip: 5.161.138.46 > > c:/my/path $ fossil timeline -n 1 > > =3D=3D=3D 2022-11-07 =3D=3D=3D > > 19:29:10 [e3d8a26875] *CURRENT* Naivet=C3=83=C2=A9. (user: mer tags: tr= unk) > > What do you see if you run "fossil timeline -n 1" from the shell > outside of Emacs? does it show "Naivet=C3=A9" as expected? If it does, > then what you see above is a secondary and much less serious problem; > the repository is OK. Great. I see it correctly when I run "fossil timeline -n 1" from the shell outside of Emacs. C:\my\path>fossil timeline -n 1 =3D=3D=3D 2022-11-07 =3D=3D=3D 19:35:10 [c51f1ff698] *CURRENT* Naivet=C3=A9. (user: mer tags: trunk) --- entry limit (1) reached --- [...] From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 17:43:17 2022 Received: (at 58281) by debbugs.gnu.org; 7 Nov 2022 22:43:17 +0000 Received: from localhost ([127.0.0.1]:35625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osApo-0006WP-SZ for submit@debbugs.gnu.org; Mon, 07 Nov 2022 17:43:17 -0500 Received: from mail-yb1-f181.google.com ([209.85.219.181]:37494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osApl-0006WB-PQ for 58281@debbugs.gnu.org; Mon, 07 Nov 2022 17:43:14 -0500 Received: by mail-yb1-f181.google.com with SMTP id 63so15374255ybq.4 for <58281@debbugs.gnu.org>; Mon, 07 Nov 2022 14:43:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=id.uff.br; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wki8QO+HBSibOdbS7Fgf9pSpxNIsMugbnq4MOaztFCg=; b=SR3fsTlhn6gLMEtzigIJ+4QTiCBMks6pqJEgAICFYj0ZEVt7ZUrqI032y8z2AOoZmC Ltwv/K0WnPnQCY++tAiROCV3ZtOJZxSW6cj8VnDJrAEv2XiCIxMb8dRAEFBKmIJM/WHB 1QkYeoy2SgKu66CMh0oMitAg/7cc5zX47xpLA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wki8QO+HBSibOdbS7Fgf9pSpxNIsMugbnq4MOaztFCg=; b=RgQ9hi5TPEbHaXxZUr3MILGixFvF47w55JiBWxB+QdrRWqIhrCUZNX2nAKIWSnIYUr KuEfifBxkWVRsRplJRk4xUecNGxSJTGAzjOPVoXvAfPbE5FUNIyshQAv189k3j7PUIQZ Xq5bKi3lf2MqrvlavHvUeguBFLzi2emblE7NWlj17VTOPClLf8U5iTEyInTfqnz0hXzx i/IkB94S9X4VZ6A5owK7WiV/9UR9MYoFevGZ6rn7Qnm8WQHxI/dbcnyJtBtbnkUh3EUa X7IQh8gkIuOuQypt3F58OrCyeFSOTr5StyOrFRDBDQ7XxLK87q9DdyrQvmk0x8dlH5HC 9fjg== X-Gm-Message-State: ACrzQf2+14Yl6vP2IFkGikboLwg52QjCZWHpMD/bO9DolMnWkA/AsEl9 7xwW7zbVOtCQRBwGXJig1VuhDraNziwA0lixHYhYHw== X-Google-Smtp-Source: AMsMyM4kvzuUNstzhrEJrkAmUkbquidxJCIRPoSasuGXAcWBn0lA8FbDF4hQnYRKFuPRg8OBQdxIrWIWlxA1/s15N0k= X-Received: by 2002:a25:acd9:0:b0:6cb:7682:e1e with SMTP id x25-20020a25acd9000000b006cb76820e1emr30637472ybd.487.1667860988194; Mon, 07 Nov 2022 14:43:08 -0800 (PST) MIME-Version: 1.0 References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> <83v8nqy0mi.fsf@gnu.org> In-Reply-To: <83v8nqy0mi.fsf@gnu.org> From: Daniel Bastos Date: Mon, 7 Nov 2022 19:42:32 -0300 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Nov 7, 2022 at 5:24 PM Eli Zaretskii wrote: > > > From: Daniel Bastos > > Date: Mon, 7 Nov 2022 16:40:04 -0300 > > Cc: 58281@debbugs.gnu.org > > > > > > I've now installed a change for Emacs 29 that I think should fix your > > > > problems. So if you can try the current master branch of the Emacs > > > > Git repository, please do, and see if your problem with Fossil are > > > > solved there. > > > > I'm not sure which is "Emacs 29". I took the master branch > > > > https://git.savannah.gnu.org/cgit/emacs.git/ > > > > right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to > > compile it using MSYS32 in a MINGW64 shell. After building the > > runemacs.exe, I ran it with the option -Q and I see the version is > > > > GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 > > > > I get the following behavior: > > Btw, what is the value of locale-coding-system in this case for you in > Emacs 29? On *scratch*, I say locale-coding-system C-u M-x eval-last-sexp and I get cp1252 I did something similar while in ESHELL and I got the same cp1252. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 07:09:23 2022 Received: (at 58281) by debbugs.gnu.org; 8 Nov 2022 12:09:23 +0000 Received: from localhost ([127.0.0.1]:36487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osNPu-0006Kw-Pf for submit@debbugs.gnu.org; Tue, 08 Nov 2022 07:09:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osNPq-0006Kh-9w for 58281@debbugs.gnu.org; Tue, 08 Nov 2022 07:09:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osNPg-000559-FK; Tue, 08 Nov 2022 07:09:08 -0500 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=vGo+2gmGdlvj8InFU089sSAFZIoNa/N2DqP857O/mzs=; b=kKDSxA1CvH2ShG7Zbd8T V9txTLPGQNewCKGP3eLeY5cyXnDaWETK2PBfji9tz+FDBmRzQTYZp0bNLnpVn5Mxy0jWIWYAsLb+u fgkd4NyeAqbHe9i8sNxFc1BaCHynL/1dvWdykyA5oeKnMYa6KwUcqAC1IPGAkyJh73GUBgHuk7Vfk eDeFN1p3C99Mv1s4FZxZB00amDQOuV8VLEi7FNG1/VBZjSHyfigjsiUTN1SrWQrb4Rmv8bqLpKTBT qrnJEm02+jmxlH7fd6Kdy/jRHqEpibY4wWP3VifSAGZF4P1wo+JMQ/HXEUOEnPhC/nTJo3UZFXsPz Lr9skc3ezc1Hmg==; Received: from [87.69.77.57] (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 1osNPb-0001AT-Dh; Tue, 08 Nov 2022 07:09:07 -0500 Date: Tue, 08 Nov 2022 14:08:49 +0200 Message-Id: <83tu39y7fy.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Mon, 7 Nov 2022 19:38:35 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> <83wn86y18d.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Mon, 7 Nov 2022 19:38:35 -0300 > Cc: 58281@debbugs.gnu.org > > > > 19:29:10 [e3d8a26875] *CURRENT* Naiveté. (user: mer tags: trunk) > > > > What do you see if you run "fossil timeline -n 1" from the shell > > outside of Emacs? does it show "Naiveté" as expected? If it does, > > then what you see above is a secondary and much less serious problem; > > the repository is OK. > > Great. I see it correctly when I run "fossil timeline -n 1" from the > shell outside of Emacs. > > C:\my\path>fossil timeline -n 1 > === 2022-11-07 === > 19:35:10 [c51f1ff698] *CURRENT* Naiveté. (user: mer tags: trunk) > --- entry limit (1) reached --- OK, so this means the solution "mostly" works, and the fact that you see it garbled in Eshell is some kind of display problem. Although I don't understand why it happens; it looks like fossil for some reason outputs UTF-8 encoded text. Do you have some customization, either in Emacs or in fossil, which could cause that? From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 07:09:43 2022 Received: (at 58281) by debbugs.gnu.org; 8 Nov 2022 12:09:43 +0000 Received: from localhost ([127.0.0.1]:36493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osNQF-0006La-4m for submit@debbugs.gnu.org; Tue, 08 Nov 2022 07:09:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osNQD-0006LL-W5 for 58281@debbugs.gnu.org; Tue, 08 Nov 2022 07:09:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osNQ7-0005bm-7k; Tue, 08 Nov 2022 07:09:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EkuBW3B7wdy7+0E2VePVwoBMnhMEFujwdPd6f/TXGfM=; b=coCjGLlP1Fvp Lo0WwVKWStr3l51OmUGLDu4jCL7M6QScQGthZUdtZ/+XXIWBITu/AfC0mroTEgePYI19mr0MbKCSl zU042vw282TnPu7/b+8MX/Rjn+kS7oklw5ZTf3FcIWbA4c7+W7lhAy8EyGOCtX3cytBTDRHYdx/XL WmFc/ip67LZXA67kwvJU30I6cPfidTy2nGEqG2FFCf4Gar8u7wD2zAju+JNIsL8yfEDgagUD5mtqy lhYvNhrF/bPS5FwJYqsN+rcAUnl9V0HE+n0Tk3aRhTRQH6xj+5dsaFRd02h8L50U9K+v2I2a5WkyG rEhATTDkJNwTdSxvcNGriA==; Received: from [87.69.77.57] (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 1osNQ5-0001Wz-C7; Tue, 08 Nov 2022 07:09:34 -0500 Date: Tue, 08 Nov 2022 14:09:21 +0200 Message-Id: <83sfity7f2.fsf@gnu.org> From: Eli Zaretskii To: Daniel Bastos In-Reply-To: (message from Daniel Bastos on Mon, 7 Nov 2022 19:42:32 -0300) Subject: Re: bug#58281: 27.1; windows mangles encoding on command line References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> <83v8nqy0mi.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58281 Cc: 58281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Bastos > Date: Mon, 7 Nov 2022 19:42:32 -0300 > Cc: 58281@debbugs.gnu.org > > On Mon, Nov 7, 2022 at 5:24 PM Eli Zaretskii wrote: > > > > > From: Daniel Bastos > > > Date: Mon, 7 Nov 2022 16:40:04 -0300 > > > Cc: 58281@debbugs.gnu.org > > > > > > > > I've now installed a change for Emacs 29 that I think should fix your > > > > > problems. So if you can try the current master branch of the Emacs > > > > > Git repository, please do, and see if your problem with Fossil are > > > > > solved there. > > > > > > I'm not sure which is "Emacs 29". I took the master branch > > > > > > https://git.savannah.gnu.org/cgit/emacs.git/ > > > > > > right now --- November 7th, 15h EST --- and followed nt/INSTALL.W64 to > > > compile it using MSYS32 in a MINGW64 shell. After building the > > > runemacs.exe, I ran it with the option -Q and I see the version is > > > > > > GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-07 > > > > > > I get the following behavior: > > > > Btw, what is the value of locale-coding-system in this case for you in > > Emacs 29? > > On *scratch*, I say > > locale-coding-system C-u M-x eval-last-sexp > > and I get > > cp1252 > > I did something similar while in ESHELL and I got the same cp1252. This is the expected value, so everything seems to work as I intended. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 03 05:26:22 2023 Received: (at 58281-done) by debbugs.gnu.org; 3 Sep 2023 09:26:22 +0000 Received: from localhost ([127.0.0.1]:39445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjN8-00074Q-EP for submit@debbugs.gnu.org; Sun, 03 Sep 2023 05:26:22 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:52713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjN4-00074A-Gu for 58281-done@debbugs.gnu.org; Sun, 03 Sep 2023 05:26:21 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-500bb392ab7so888122e87.1 for <58281-done@debbugs.gnu.org>; Sun, 03 Sep 2023 02:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693733162; x=1694337962; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=2xcDJhMgSgwmh7Iy7zVVak9Exz6eYL+D6tWrG7lAyTM=; b=C2bhKso178bpnz2Jc3HBFdkTM5YrLkYcgiDGHNJlqX40XsaS5ZqkYGaCMAdNcwgwxP qYlULC2rnA/nuGiuGKSTVi6t99XFisLFeIDhMtOQpL22zfGJ6qPljUjyoj2BecMhnh4O ymy5mPKmCeMoe4d1PlnQrTySgUOdW6g8rwWCTISyT3xk37+VGzd1X/yZn/QPajJ3P4HO CyP/r/e26i+2zVwXnO4/J0LofP4K4nyY+Q+CinTj2cESU0umnf99zX3wBpsoEvdSa3ms KmW8k65BjXPa2N6f2TWvWmjEjNq9Nxl/nH7MuXrzlbvZNL48KYRdIcNNzftoplF7uObk BKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693733162; x=1694337962; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=2xcDJhMgSgwmh7Iy7zVVak9Exz6eYL+D6tWrG7lAyTM=; b=jYTIJ4nEs2j6+eS119+2iTI56SfyqMaASSUV8qs3p0wfEPiQxv1CfRoFw6GdNJTDJc XYQaEVnhQ6NzkZJ46sosajjTTqA2Tq1u9zD35JqWXEW9I8EE26VZ/hNN3uzw4kLJ/bJb LmqUjXrg+vrM6bQOalwTOvmgBc57O+fwOjD/KzbAgqLuSnR3x5lrLcMWM/hcahbrYj6Z bN1QDg4OaVFtY3NhxLIegUy6It2FjdMtcf1JHJFFo8U/+XV5dh0UUi+N0vTtLIRIhuqn Efuc+798M2Z50ASppE0fO6Xt/OKSM0WwFlom93r+AFeIZn/djMaeZWqkDs4y+UYnS4pk XJWw== X-Gm-Message-State: AOJu0YzdehwL7lyY+ydlC/SVieS+g5qYvThLAPtNHMmU3WmqbPDJuBgU FD1MwE6TjbPq8/sgRmHfT+752k/cf9+SXzeV1K4= X-Google-Smtp-Source: AGHT+IHN6u3dXmS9+g8hmlX7E167uynobfxCD6P/xFUbJPuBqc+t5O/ZfeaTUCmHB1DGhQwMDzC5Y7HCHjaxPjDMKn4= X-Received: by 2002:ac2:4a81:0:b0:500:8fcd:c3b5 with SMTP id l1-20020ac24a81000000b005008fcdc3b5mr3995373lfp.12.1693733162274; Sun, 03 Sep 2023 02:26:02 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:26:01 -0700 From: Stefan Kangas In-Reply-To: <83tu39y7fy.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Nov 2022 14:08:49 +0200") References: <86sfk4cro4.fsf@zejito.i-did-not-set--mail-host-address--so-tickle-me> <8335c3x5yb.fsf@gnu.org> <83k055ctvz.fsf@gnu.org> <83fsftasos.fsf@gnu.org> <835ygl73k7.fsf@gnu.org> <834jvc35xh.fsf@gnu.org> <83wn86y18d.fsf@gnu.org> <83tu39y7fy.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 3 Sep 2023 02:26:01 -0700 Message-ID: Subject: Re: bug#58281: 27.1; windows mangles encoding on command line To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58281-done Cc: 58281-done@debbugs.gnu.org, Daniel Bastos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Daniel Bastos >> Date: Mon, 7 Nov 2022 19:38:35 -0300 >> Cc: 58281@debbugs.gnu.org >> >> > > 19:29:10 [e3d8a26875] *CURRENT* Naivet=C3=83=C2=A9. (user: mer tags:= trunk) >> > >> > What do you see if you run "fossil timeline -n 1" from the shell >> > outside of Emacs? does it show "Naivet=C3=A9" as expected? If it does= , >> > then what you see above is a secondary and much less serious problem; >> > the repository is OK. >> >> Great. I see it correctly when I run "fossil timeline -n 1" from the >> shell outside of Emacs. >> >> C:\my\path>fossil timeline -n 1 >> =3D=3D=3D 2022-11-07 =3D=3D=3D >> 19:35:10 [c51f1ff698] *CURRENT* Naivet=C3=A9. (user: mer tags: trunk) >> --- entry limit (1) reached --- > > OK, so this means the solution "mostly" works, and the fact that you > see it garbled in Eshell is some kind of display problem. Although I > don't understand why it happens; it looks like fossil for some reason > outputs UTF-8 encoded text. Do you have some customization, either in > Emacs or in fossil, which could cause that? No further updates within 9 months. Eli made some fixes, that seems to have improved the situation. It also seems like the fault here ultimately was with a program called "fossil", and not with Emacs. I'm therefore going to assume that there's nothing more we can do here, and I'm therefore closing this bug report. If this conclusion is incorrect, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. From unknown Tue Aug 12 08:33:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Oct 2023 11:24:29 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator