From unknown Sun Jun 15 10:54:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42007 <42007@debbugs.gnu.org> To: bug#42007 <42007@debbugs.gnu.org> Subject: Status: ps-print encodes post-ASCII Unicode incorrectly for common characters Reply-To: bug#42007 <42007@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:54:27 +0000 retitle 42007 ps-print encodes post-ASCII Unicode incorrectly for common ch= aracters reassign 42007 emacs submitter 42007 "James P. Ascher" severity 42007 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 13:01:53 2020 Received: (at submit) by debbugs.gnu.org; 22 Jun 2020 17:01:53 +0000 Received: from localhost ([127.0.0.1]:34418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnPpM-0004gy-JS for submit@debbugs.gnu.org; Mon, 22 Jun 2020 13:01:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:34756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnPc8-0004Ma-5R for submit@debbugs.gnu.org; Mon, 22 Jun 2020 12:48:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnPc7-0004pn-Iu for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2020 12:48:07 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:34763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnPc4-0000CB-UP for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2020 12:48:07 -0400 Date: Mon, 22 Jun 2020 16:47:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1592844478; bh=sA6oTlj95yJZtuzuDpbxw4B0SO2zEzZjCJvUrPJ1kXU=; h=Date:To:From:Reply-To:Subject:From; b=JegN53VAd74OPxR16RxmDZB0ov+c26yUqNXRlunwNYckEd2+fXpfE58+q49veNChU vzEPeQocOyoe/9c2oc+b59mNUYzpF7IVHO5LQAhbz3aL4TBrO+4x6OucwC1om18L0l 4PNtVyxySrqTBwCsNW9+3ouDO6YDqiq+RxCoYPyw= To: bug-gnu-emacs@gnu.org, Vinicius Jose Latorre From: "James P. Ascher" Subject: ps-print encodes post-ASCII Unicode incorrectly for common characters Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Received-SPF: pass client-ip=185.70.40.18; envelope-from=jpsa@protonmail.com; helo=mail1.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/22 12:48:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 22 Jun 2020 13:01:47 -0400 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: , Reply-To: "James P. Ascher" Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'd like to use ps-print to print hard copies of emails from my colleagues, but it fails for certain common Unicode characters beyond the basic ASCII, rendering them as '?'. MINIMAL EXAMPLE: 1. New buffer with "What=E2=80=99s up?=E2=80=94Dude." 2. Call C-u M-x ps-print-buffer and save as test.ps 3. The line in question PostScript code reads: (What?s up??Dude.) S which renders: "What?s up??Dude." It should render "What=E2=80=99s up?=E2=80=94Dude." DISCUSSION: This fails for emoji and most of the hello file as well, but that's not really what I'm after. In trying to debug this, I made a little progress. In ps-print.el, `ps-output-string-prim` seems to be designed to handle these, however: (ps-output-string-prim "What=E2=80=99s up?=E2=80=94Dude.") gives (What\3FFFE2\3FFF80\3FFF99s up?\3FFFE2\3FFF80\3FFF94Dude.) Putting that string in the PostScript file doesn't work quite right either: it drops the back slash. So I think there are two bugs here: Bug 1: Post-ASCII Unicode encodes as '?' instead of "\number" Bug 2: Post-ASCII Unicode should be encoded so at least Ghostscript can handle it. Ghostscript supports post-ASCII Unicode: https://ghostscript.com/doc/9.52/Use.htm#UnicodeTT But, I don't know if such behavior is standard PostScript. I also don't know if there's a more obvious solution. Respectfully submitted, -James --=20 James P. Ascher Doctoral Student, English Department University of Virginia From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 14:05:45 2020 Received: (at 42007) by debbugs.gnu.org; 22 Jun 2020 18:05:45 +0000 Received: from localhost ([127.0.0.1]:34485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnQpF-0006Dg-BA for submit@debbugs.gnu.org; Mon, 22 Jun 2020 14:05:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnQpB-0006DR-K4 for 42007@debbugs.gnu.org; Mon, 22 Jun 2020 14:05:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46259) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnQp6-00043M-Co; Mon, 22 Jun 2020 14:05:36 -0400 Received: from [176.228.60.248] (port=2901 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnQp5-0004Ss-Bq; Mon, 22 Jun 2020 14:05:35 -0400 Date: Mon, 22 Jun 2020 21:05:29 +0300 Message-Id: <83o8pbt1qu.fsf@gnu.org> From: Eli Zaretskii To: "James P. Ascher" In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42007 Cc: 42007@debbugs.gnu.org, viniciusjl@ig.com.br 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 (---) > Date: Mon, 22 Jun 2020 16:47:52 +0000 > From: "James P. Ascher" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I'd like to use ps-print to print hard copies of emails from my > colleagues, but it fails for certain common Unicode characters beyond > the basic ASCII, rendering them as '?'. > > MINIMAL EXAMPLE: > > 1. New buffer with "What’s up?—Dude." > 2. Call C-u M-x ps-print-buffer and save as test.ps > 3. The line in question PostScript code reads: > > (What?s up??Dude.) S > > which renders: > > "What?s up??Dude." > > It should render "What’s up?—Dude." I don't think ps-print supports non-ASCII characters beyond Latin-1, definitely not unless you customize ps-mule and ps-bdf with appropriate font. Sorry. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 15:11:18 2020 Received: (at 42007) by debbugs.gnu.org; 22 Jun 2020 19:11:18 +0000 Received: from localhost ([127.0.0.1]:34552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnRqg-0007pH-0b for submit@debbugs.gnu.org; Mon, 22 Jun 2020 15:11:18 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:12904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnRqd-0007p3-P9 for 42007@debbugs.gnu.org; Mon, 22 Jun 2020 15:11:17 -0400 Date: Mon, 22 Jun 2020 19:11:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1592853069; bh=1xDd9/Zw/zAsgK3Vkjnrxcu2kTWHDpCV2GU8dofoBE4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=hb0bmk98XKClhNA5Xku05RMlOrv9i2pTgEsZcP8qy59LzYpmhLS3PR4m2vnSs7yMK BSnAAJif5UMWwyc9kB4Ut5CaQxdpOEO3+Z3U/Caqh+L8phqmD47dS6kYheu7ac0xm8 P7+4MczhBqGFkc/i0QxaOBc2ZHIWgCz8+TdQ4myQ= To: Eli Zaretskii From: "James P. Ascher" Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters Message-ID: In-Reply-To: <83o8pbt1qu.fsf@gnu.org> References: <83o8pbt1qu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42007 Cc: 42007@debbugs.gnu.org, viniciusjl@ig.com.br 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: , Reply-To: "James P. Ascher" Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I don't think ps-print supports non-ASCII characters beyond Latin-1, > definitely not unless you customize ps-mule and ps-bdf with > appropriate font. > > Sorry. No worries! Knowing not to bang my head on that wall is certainly progress. Thanks for the quick response. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 20:50:56 2020 Received: (at control) by debbugs.gnu.org; 13 Aug 2020 00:50:56 +0000 Received: from localhost ([127.0.0.1]:46125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k61SK-0001KN-If for submit@debbugs.gnu.org; Wed, 12 Aug 2020 20:50:56 -0400 Received: from mail-yb1-f173.google.com ([209.85.219.173]:45143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k61SI-0001Jv-ID for control@debbugs.gnu.org; Wed, 12 Aug 2020 20:50:54 -0400 Received: by mail-yb1-f173.google.com with SMTP id x2so2353659ybf.12 for ; Wed, 12 Aug 2020 17:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=5qMJwSRc4mQfXiK49viLXu+JyBDEQSwCYoueHQi3GJ0=; b=lC+3oCSmChxo6xkLi96vTL68HIJHTM9O9PjLGUfgpIhsI0dparLuei1meNcWvcJOPc d+fL3F9AVSaYLMvvqxqFIaY1MyK5a5AlALHppBZBJCHifcseuLMo/BOEs2FQmNQd75E7 /0O/NRRIbv23cxQnRYdUfeRh6KGMS/si6FepjmJJMadz4UF8sxlFRbTymcYGogMWDubr 6jHPxMLNBZj4Try5lLuxLgivSRW5vIsJyGkFTdECmCI0jI1N1wGY9B7l61efBrEybOk+ OUh1WZgvR1+ZXdT7u087EX3juAs35EVSHk0Ir06h3+ReA646PzmddHNabGT8Nl8EQdEg tXFw== X-Gm-Message-State: AOAM532HlRcuEfxJbkWzqiZcrBvEhaXsm9rt2qieCYtht4q7bZ9sh1C5 /dPjsbU8Uml1k5TW4Et7Ne0cW3hDiWcPbBhfZdcZ1rgxmUo= X-Google-Smtp-Source: ABdhPJzYeEg5RxUMSung3F2RMk1ZTx2Iv9EzpUA8bojo8qN98/Tr8OII5n9+nM3x7XYOI39ZJ3Vajo1xViOlF5/A3hg= X-Received: by 2002:a5b:410:: with SMTP id m16mr2999832ybp.309.1597279848997; Wed, 12 Aug 2020 17:50:48 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 17:50:48 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 12 Aug 2020 17:50:48 -0700 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" 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: severity 42007 wishlist thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.173 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.173 listed in wl.mailspike.net] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty 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: 1.0 (+) severity 42007 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 31 11:02:35 2021 Received: (at control) by debbugs.gnu.org; 31 Jul 2021 15:02:35 +0000 Received: from localhost ([127.0.0.1]:34611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9qVW-0004gF-U5 for submit@debbugs.gnu.org; Sat, 31 Jul 2021 11:02:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9qVV-0004b7-8v for control@debbugs.gnu.org; Sat, 31 Jul 2021 11:02:33 -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=6iSKInA5vICC8I1N9b/J85l03eiWu1gBCyJ4bwSDNII=; b=oVmH0g1VvY0k9SGTzCuyNuJ/fo 2QnNuHnDVUwizeFcD7mjpzdINyzGOTc9Bt3WypTKTIgQtzypYeZoagTiHBAXHPQnrjwKU75Q3d0Mu 6HciT6dK/dWlBTlt29KpcDWYENIhJb5ikrLJtsnkjPjxiERcz1q8A0Cs2iCp/xEALAUo=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9qVM-0004k8-Rp for control@debbugs.gnu.org; Sat, 31 Jul 2021 17:02:27 +0200 Date: Sat, 31 Jul 2021 17:02:23 +0200 Message-Id: <87k0l6edc0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42007 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: forcemerge 42007 35355 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 0.0 TVD_RCVD_IP Message was received from an IP address -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 (---) forcemerge 42007 35355 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 31 12:31:44 2021 Received: (at control) by debbugs.gnu.org; 31 Jul 2021 16:31:44 +0000 Received: from localhost ([127.0.0.1]:34702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9rto-0002q0-M3 for submit@debbugs.gnu.org; Sat, 31 Jul 2021 12:31:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9rtm-0002pg-3A for control@debbugs.gnu.org; Sat, 31 Jul 2021 12:31:42 -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=ViTDphqDvdmAejzoB8+EhbShdxCCh7yFwUheBrscZ7k=; b=AiwAHFBeecFN/iQcemwfWPLjgA LX8WzNDtA5W0sf1j2HorOCispbsHdBmZAeRkpzouDcbhk9+gMxezQ/6dMxHyFiMJiifVMSDB1jxxK 1WTYeq16WZv628fd26yCg0mzCnckovzwStPtsh1G9iLqvZfuUAOY//NupjvAODR6Tepo=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9rtd-0005S7-L9 for control@debbugs.gnu.org; Sat, 31 Jul 2021 18:31:35 +0200 Date: Sat, 31 Jul 2021 18:31:32 +0200 Message-Id: <87eebecumz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41812 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: forcemerge 41812 35355 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 0.0 TVD_RCVD_IP Message was received from an IP address -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 (---) forcemerge 41812 35355 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 11:08:37 2021 Received: (at 42007) by debbugs.gnu.org; 7 Dec 2021 16:08:37 +0000 Received: from localhost ([127.0.0.1]:38476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mud1B-0003jg-EE for submit@debbugs.gnu.org; Tue, 07 Dec 2021 11:08:37 -0500 Received: from server.a16n.net ([178.33.238.77]:45368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mud15-0003jK-6k for 42007@debbugs.gnu.org; Tue, 07 Dec 2021 11:08:36 -0500 Received: from ws.localdomain (lfbn-ren-1-1177-112.w86-215.abo.wanadoo.fr [86.215.152.112]) by server.a16n.net (Postfix) with ESMTPSA id 0552843E0519; Tue, 7 Dec 2021 17:08:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1638893305; bh=cb9geaHlD9jtF4cAhDGaWfL4LhijZ9RikuKd9LWU+O4=; h=From:To:Cc:Subject:References:Date; b=aSYPOdJBcAxm5GFRIaGqkq582tEqk+u8yXQC4Stp6tbVVo0nJMyPtrO2XHsO7GkqX 9Pt/+7z3lPQANwAH1qlSN4OYp8YC8z6Z3Pb4niCELbaC3SKbmwGOD1wCc+knntbaqJ G5KFL6NV5l0B2dcffohUFogPete5edGprGocRKLG6Lgcrbs40P+hIBZcZnZAyCPZ1Q YN0FeffGR4zoUuFABRUdM3yl1jrKgsctoU2g/I1Ttr0i5tfR6+A2BlQACXhWAc3lxu z+VSqCQZz5nGvbsRKaxlM0nLHRe1wyKW1AhoXzYq6SEn3OQRevBsB+vYcs6z40Rdq2 L6UZzlxsHNP+Q== Received: by ws.localdomain (Postfix, from userid 1000) id 343D02052D; Tue, 7 Dec 2021 17:08:24 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Eli Zaretskii Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters References: <83o8pbt1qu.fsf@gnu.org> Date: Tue, 07 Dec 2021 17:08:24 +0100 Message-ID: <87bl1sgzyf.fsf@a16n.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42007 Cc: "James P. Ascher" , 42007@debbugs.gnu.org, viniciusjl@ig.com.br 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, Jun 22 2020, Eli Zaretskii wrote: > I don't think ps-print supports non-ASCII characters beyond Latin-1, > definitely not unless you customize ps-mule and ps-bdf with > appropriate font. Hi, Where could I find an example setup please? I.e. what font should be used, that looks similar to the standard font used by ps-print and that supports at least latin-9 characters like the €-symbol? And how should ps-mule be set up to use that font? TIA for any pointers, -- Peter From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 11:54:30 2021 Received: (at 42007) by debbugs.gnu.org; 7 Dec 2021 16:54:30 +0000 Received: from localhost ([127.0.0.1]:38506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mudjU-0004x9-Va for submit@debbugs.gnu.org; Tue, 07 Dec 2021 11:54:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mudjR-0004ws-Dn for 42007@debbugs.gnu.org; Tue, 07 Dec 2021 11:54:23 -0500 Received: from [2001:470:142:3::e] (port=48400 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mudjK-0002LW-Jh; Tue, 07 Dec 2021 11:54:14 -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=k6+LaroUoKOx+U/R643p+JMqsSJEYvZyF/+40oWQYTk=; b=i2D3S5JgK46ikF38ULgn W8RwfMCt6ytx50mmPShiG5qG2G4pvbCaQsnUEHxLiV/I3s2Sr18HYRUZxyN3bmhUdqpWIX5MGDvDq 8jX2W7UvOyH66dGm9gBbj9CgzWlA49RYS3Z7vJZ8JY/6x6hK3TjLh71IAovnxONWXsn5RCLfvSNik K1wKAeGGuiEFljz8o6pSdXxDfYSuOx24xn8TdJmuaRn5yWdRL4lptOTo33Ito/F60X56rd4UzrjZX t4w60Nq7qN9yeLYvecvPlCnNqyeTnIsO8R2snOR/5DS43uHiaRfOogn09L414Wnn/A4e2oOEvXhUY drYf8tETP6rB5Q==; Received: from [87.69.77.57] (port=2042 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 1mudjK-00032i-99; Tue, 07 Dec 2021 11:54:14 -0500 Date: Tue, 07 Dec 2021 18:54:15 +0200 Message-Id: <83y24wxsnc.fsf@gnu.org> From: Eli Zaretskii To: Peter =?utf-8?Q?M=C3=BCnster?= In-Reply-To: <87bl1sgzyf.fsf@a16n.net> (message from Peter =?utf-8?Q?M?= =?utf-8?Q?=C3=BCnster?= on Tue, 07 Dec 2021 17:08:24 +0100) Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters References: <83o8pbt1qu.fsf@gnu.org> <87bl1sgzyf.fsf@a16n.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42007 Cc: jpsa@protonmail.com, 42007@debbugs.gnu.org, viniciusjl@ig.com.br 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: Peter Münster > Cc: "James P. Ascher" , 42007@debbugs.gnu.org, > viniciusjl@ig.com.br > Date: Tue, 07 Dec 2021 17:08:24 +0100 > > On Mon, Jun 22 2020, Eli Zaretskii wrote: > > > I don't think ps-print supports non-ASCII characters beyond Latin-1, > > definitely not unless you customize ps-mule and ps-bdf with > > appropriate font. > > Hi, > > Where could I find an example setup please? I.e. what font should be > used, that looks similar to the standard font used by ps-print and that > supports at least latin-9 characters like the €-symbol? And how should > ps-mule be set up to use that font? The only source of documentation I know of are the commentaries at the beginning of ps-mule.el and the sample settings there which provide examples. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 13:41:07 2021 Received: (at 42007) by debbugs.gnu.org; 7 Dec 2021 18:41:07 +0000 Received: from localhost ([127.0.0.1]:38599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mufOk-0007lA-Tv for submit@debbugs.gnu.org; Tue, 07 Dec 2021 13:41:07 -0500 Received: from server.a16n.net ([178.33.238.77]:60016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mufOf-0007kQ-6y for 42007@debbugs.gnu.org; Tue, 07 Dec 2021 13:41:05 -0500 Received: from ws.localdomain (lfbn-ren-1-1177-112.w86-215.abo.wanadoo.fr [86.215.152.112]) by server.a16n.net (Postfix) with ESMTPSA id 602A343E07F9; Tue, 7 Dec 2021 19:40:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1638902455; bh=7kiKG9TMDV+uhtaJO9nVddWPuJW4QmOJDN3dAh5r2M0=; h=From:To:Cc:Subject:References:Date; b=ofaoAiSTNvhwNCS6hEVBP5Ei5vBIVncQXySka4EF9uCyGo4Mw9zNd3IwWMGQVtYCv LHvoJW4sZWmr2ZfN04KSEz0MXYwkHn/UQEjipy+gstE02T9s+LmfodW/7PSzZX1mW/ bnc/iI58HjQdTZpM7gPav33ULH5bSfFIvTS3KoBFT3grMVx+iWitq6Z5Uh/L9I0hvF 7dIpHRQjaxbnKyEzaAmKRq76Y4da58g+B3W4mtWL8v/4yT94te6snfdFKjjcmFF7zD q1RamlzexWhMUsMVDo6buAB4Sx16A3Zm53boTu8jdZwhdJBgILn5RwoqpWm+4VcGRS 95TivXCnj8pHw== Received: by ws.localdomain (Postfix, from userid 1000) id BDCFF2054C; Tue, 7 Dec 2021 19:40:54 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Eli Zaretskii Subject: Re: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters References: <83o8pbt1qu.fsf@gnu.org> <87bl1sgzyf.fsf@a16n.net> <83y24wxsnc.fsf@gnu.org> Date: Tue, 07 Dec 2021 19:40:54 +0100 Message-ID: <87o85scl6x.fsf@a16n.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42007 Cc: jpsa@protonmail.com, 42007@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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, Dec 07 2021, Eli Zaretskii wrote: > The only source of documentation I know of are the commentaries at the > beginning of ps-mule.el and the sample settings there which provide > examples. Unfortunately the bdf-fonts are very ugly... =2D-=20 Peter --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iGoEARECACoWIQS/5hHRBUjla4uZVXU6jitvQ7HLaAUCYa+qtgwccG1AYTE2bi5u ZXQACgkQOo4rb0Oxy2hNvQCgmgwdb75pMsIiyWKbyyYPy7FqYrMAoKs67Ny3ws0S Qd1DRXNrypqvyjng =9vTV -----END PGP SIGNATURE----- --=-=-=--