From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Viktor Larkin Newsgroups: gmane.emacs.bugs Subject: bug#41488: 26.3; Cyrillic chars in output of find-dired and find-name-dired looks like '\234\188\123' Date: Sat, 23 May 2020 17:40:51 +0300 Message-ID: <87imgmyarw.fsf@hwslack.ware> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63881"; mail-complaints-to="usenet@ciao.gmane.io" To: 41488@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 23 17:26:32 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jcW2i-000GVw-9C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 17:26:32 +0200 Original-Received: from localhost ([::1]:51692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcW2h-0000WN-C4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 11:26:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcW2F-0008Uo-Ci for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcW2F-0001d9-4B for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcW2F-0007ep-1U for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Viktor Larkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 May 2020 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41488 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159024750629336 (code B ref -1); Sat, 23 May 2020 15:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 May 2020 15:25:06 +0000 Original-Received: from localhost ([127.0.0.1]:35314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcW1J-0007cy-Om for submit@debbugs.gnu.org; Sat, 23 May 2020 11:25:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcVKg-0004RS-En for submit@debbugs.gnu.org; Sat, 23 May 2020 10:41:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcVKg-0001FL-7Y for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 10:41:02 -0400 Original-Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:33055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcVKf-0001r0-43 for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 10:41:01 -0400 Original-Received: by mail-qt1-x831.google.com with SMTP id e16so4791061qtg.0 for ; Sat, 23 May 2020 07:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=BLP1oZIic48dE1xkJ8fyObe0fDQWXZ1rjGziBd4eJV0=; b=XSVLmYNvsuEecSCv8TwGtHXnveoeZeSAs+CSF2to8rYiY87FOB+Azy2C0OfLyZZMbo 47Ev1Ur8i1I4kVGCpYUpX/+VV0vIGwhZhD2Jc+v0iXZvw+oe6PB6/p1MhvkaQzjuLwfQ A3iiLHSgbvelUqhIFw5Ql7VzQT0YhSF2d7Rkn6wYZDeJ8zQjX7cFYKjWwbihJgyMw9kd bjNm1ktqctehD+RlGD0b8RILBU08h4k5xx45HGGBRFI+ec5n5HsqdD8zbj2uEwZ9CwZ2 xEaSW20rj6zLlz1NZ5fxvBLYhYYua43aSWC2yCoWpnbYV06qheks+UViD/E6Sw6EN6vZ WCiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=BLP1oZIic48dE1xkJ8fyObe0fDQWXZ1rjGziBd4eJV0=; b=Vdq7ANMqyk+MKo59aD0uuTsCrA02bmY7xXEZocQzZIrC8CLNGQf5Aek8Dwz0Fuc6KF b5MFov4ayy4ZYg2M4ij0ZOsQyArydBRIDdCb1dbq2V4lyf3ANECixNIMneooepccdRUN dG4EXc2Smy8alk7tL0lp2Baysd+M88lQ9uYKAn+6uyAFvHW2mLViBewHDYEfMVGYDW4p 4K1TWGc1blTE+AgybLJq4ZYOQBwIwf4xNdaMp3UUKfLxKRvWOyCJludZTMBLGwo+G57n 09/DwtOMDk2uoEYjBy8rNp3MrpQnBvgHNyy/Tt9w15VIXScYFU7XM+g8CdIBj6hdHXfi QbZQ== X-Gm-Message-State: AOAM530zeQNc5oSkOFNk5bMCq6iPA2fCz+iH5NZ8g66I0HDUNMGNqcby ZP6BXBMrZZJWTVa9vpvIbIh/XtsdcgaZIQ== X-Google-Smtp-Source: ABdhPJzyyf/4KXgbwYzHeoA2fa0fWWTklU9IshcqMuf4Sa78SpQWpiKWI+XMeyp3VMPLfuOJorUHqw== X-Received: by 2002:ac8:2bc1:: with SMTP id n1mr2530528qtn.382.1590244859395; Sat, 23 May 2020 07:40:59 -0700 (PDT) Original-Received: from hwslack.ware ([5.2.79.67]) by smtp.gmail.com with ESMTPSA id y140sm10111420qkb.127.2020.05.23.07.40.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 May 2020 07:40:58 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=com.larkin@gmail.com; helo=mail-qt1-x831.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Sat, 23 May 2020 11:25:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180811 Archived-At: Hello. I've no idea what causes this bug, but... When I do recursive search with find-dired or find-name-dired with cyrillic chars as search pattern (e.g. =D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82) I always get someth= ing like '\234\221\123' instead of correct cyrillic chars in file names and file paths. To reproduce: 1. emacs -Q 2. C-x d 3. M-x find-name-dired 4. RET 5. =D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82*.txt 6. RET Output of locale in terminal and in eshell is the same. ru_RU.UTF-8 is a chosen encoding for LANG and LC_CTYPE. Emacs version is 26.3. GNU findutils version is 4.7.0. I've found this topic https://www.reddit.com/r/emacs/comments/bvuv9q/cyrillic_letters_dont_work_w= ith_find_in_emacs/eptkhsr/ . Seems like bug is still in the wild. In GNU Emacs 26.3 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.1= 2) of 2019-11-25 built on hive64.slackware.lan Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 Recent messages: Undo! Change in Dired buffer undone. Actual changes in files cannot be undone by Emacs. find-dired *Find* finished. Quit Making completion list... You can run the command =E2=80=98describe-coding-system=E2=80=99 with C-h C mwheel-scroll: Beginning of buffer [2 times] Mark set Making completion list... Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --localstatedir=3D/var --program-prefix=3D --program-suffix=3D --mandir=3D/usr/man --infodir=3D/usr/info --without-gconf --without-gsettings --with-modules --with-x --with-x-toolkit=3Dgtk3 --build=3Dx86_64-slackware-linux 'CFLAGS=3D-O2 -fPIC'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LCMS2 Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: ru_RU.UTF-8 value of $LC_MESSAGES: ru_RU.UTF-8 value of $LC_MONETARY: ru_RU.UTF-8 value of $LC_NUMERIC: ru_RU.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: shell-dirtrack-mode: t global-undo-tree-mode: t undo-tree-mode: t icomplete-mode: t electric-pair-mode: t display-time-mode: t global-hl-line-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort bbdb-message mail-extr emacsbug mule-diag misearch multi-isearch org-rmail org-mhe org-irc org-info org-gnus nnir org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m bookmark pp eieio-opt speedbar sb-image ezimage dframe help-fns radix-tree thingatpt etags xref project pcmpl-unix pcmpl-gnu novice conf-mode em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-cache gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum nndraft nnmh shell find-dired quail dired-aux gnus-dired ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox undo-tree diff bbdb-mua bbdb-com crm bbdb bbdb-site timezone org-bullets yasnippet icomplete smtpmail sendmail gnus-topic gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec gnus-win nnoo gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit re-builder ibuffer ibuffer-loaddefs epa-file epa derived epg edmacro kmacro elec-pair cl-extra help-mode time hl-line org-element avl-tree generator org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf tex-site info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 dbusbind inotify lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 480598 45587) (symbols 48 47686 1) (miscs 40 752 933) (strings 32 150163 6542) (string-bytes 1 4624749) (vectors 16 58053) (vector-slots 8 1708284 169674) (floats 8 314 520) (intervals 56 6746 1261) (buffers 992 47))