From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42366: UTF8 QR codes vs. emacs Date: Wed, 05 Aug 2020 17:19:28 +0300 Message-ID: <83a6z99nv3.fsf@gnu.org> References: <87pn8wx3k2.5.fsf@jidanni.org> <875z9xcrrk.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42366@debbugs.gnu.org, jidanni@jidanni.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 05 16:21:10 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 1k3KI2-0000rd-HK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Aug 2020 16:21:10 +0200 Original-Received: from localhost ([::1]:40000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3KI1-00046e-AB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Aug 2020 10:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3KHu-00045B-8N for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2020 10:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3KHt-0000AU-Vr for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2020 10:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3KHt-0005M4-SS for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2020 10:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Aug 2020 14:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 42366-submit@debbugs.gnu.org id=B42366.159663720320504 (code B ref 42366); Wed, 05 Aug 2020 14:21:01 +0000 Original-Received: (at 42366) by debbugs.gnu.org; 5 Aug 2020 14:20:03 +0000 Original-Received: from localhost ([127.0.0.1]:51907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3KGu-0005KD-0B for submit@debbugs.gnu.org; Wed, 05 Aug 2020 10:20:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3KGd-0005Jm-Fr for 42366@debbugs.gnu.org; Wed, 05 Aug 2020 10:19:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57519) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3KGX-0008N9-Iv; Wed, 05 Aug 2020 10:19:37 -0400 Original-Received: from [176.228.60.248] (port=3799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3KGW-0004nh-Sk; Wed, 05 Aug 2020 10:19:37 -0400 In-Reply-To: <875z9xcrrk.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 05 Aug 2020 12:26:55 +0200) 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:184100 Archived-At: > From: Lars Ingebrigtsen > Date: Wed, 05 Aug 2020 12:26:55 +0200 > Cc: 42366@debbugs.gnu.org > > > Compare how > > $ qrencode -t UTF8 x > > looks in > > $ emacs -nw -f shell # vs. > > $ emacs -f shell > > > > As you can see in the latter it is quite mangled, > > perhaps beyond machine recognition. > > It's not good in any case, really. Here's the X version: Can you send the file itself? > Note the horizontal lines -- it should be a solid white field. How do you know that? > And with -nw it's just a complete mess: No, it isn't... > I guess... it's translating all the Unicode characters instead of just > letting the terminal render them? The terminal does have these > characters; when running the program directly in the shell everything > works fine. That's what happens when Emacs thinks your terminal cannot display these characters. What does 'terminal-coding-system' return on that display? > Does anybody know how to make shell-mode (under -nw) just output the > characters? Hmm... shell-mode? Now I'm beginning to think I don't really understand what are the steps to reproduce the problem, and what is their meaning (jidanni needs to learn how to report bugs clearly). Would you please describe the steps, starting from "emacs -Q"?