From unknown Mon Aug 18 14:22:02 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#7577 <7577@debbugs.gnu.org> To: bug#7577 <7577@debbugs.gnu.org> Subject: Status: non-ascii char in manpage Reply-To: bug#7577 <7577@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:22:02 +0000 retitle 7577 non-ascii char in manpage reassign 7577 coreutils submitter 7577 tsener@bsdmail.com severity 7577 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 04:25:36 2010 Received: (at submit) by debbugs.gnu.org; 7 Dec 2010 09:25:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPtnj-0006bm-Rm for submit@debbugs.gnu.org; Tue, 07 Dec 2010 04:25:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPtn7-0006aM-KR for submit@debbugs.gnu.org; Tue, 07 Dec 2010 04:24:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPtsp-0000A7-Jd for submit@debbugs.gnu.org; Tue, 07 Dec 2010 04:30:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:33894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPtsp-00009z-AP for submit@debbugs.gnu.org; Tue, 07 Dec 2010 04:30:51 -0500 Received: from [140.186.70.92] (port=44192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPtso-0004qq-AJ for bug-coreutils@gnu.org; Tue, 07 Dec 2010 04:30:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPtsn-000090-Ji for bug-coreutils@gnu.org; Tue, 07 Dec 2010 04:30:50 -0500 Received: from imr-da03.mx.aol.com ([205.188.105.145]:62772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPtsn-00008H-85 for bug-coreutils@gnu.org; Tue, 07 Dec 2010 04:30:49 -0500 Received: from imo-da03.mx.aol.com (imo-da03.mx.aol.com [205.188.169.201]) by imr-da03.mx.aol.com (8.14.1/8.14.1) with ESMTP id oB79UeVc014375 for ; Tue, 7 Dec 2010 04:30:40 -0500 Received: from tsener@bsdmail.com by imo-da03.mx.aol.com (mail_out_v42.9.) id 7.ef5.ad59507 (43910) for ; Tue, 7 Dec 2010 04:30:38 -0500 (EST) Received: from smtprly-me03.mx.aol.com (smtprly-me03.mx.aol.com [64.12.95.104]) by cia-dc07.mx.aol.com (v129.7) with ESMTP id MAILCIADC077-b30e4cfdfeaf1f7; Tue, 07 Dec 2010 04:30:30 -0500 Received: from web-mmc-m02 (web-mmc-m02.sim.aol.com [64.12.224.135]) by smtprly-me03.mx.aol.com (v129.5) with ESMTP id MAILSMTPRLYME036-b30e4cfdfeaf1f7; Tue, 07 Dec 2010 04:30:23 -0500 To: bug-coreutils@gnu.org Subject: non-ascii char in manpage Date: Tue, 07 Dec 2010 04:30:23 -0500 X-MB-Message-Source: WebUI X-AOL-IP: 217.18.249.148 X-MB-Message-Type: User MIME-Version: 1.0 From: tsener@bsdmail.com Content-Type: multipart/alternative; boundary="--------MB_8CD640881E18318_1354_14C0C_web-mmc-m02.sysops.aol.com" X-Mailer: Mail.com Webmail 32992-STANDARD Received: from 217.18.249.148 by web-mmc-m02.sysops.aol.com (64.12.224.135) with HTTP (WebMailUI); Tue, 07 Dec 2010 04:30:23 -0500 Message-Id: <8CD640881DF21B6-1354-A45A@web-mmc-m02.sysops.aol.com> X-AOL-SENDER: tsener@bsdmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 07 Dec 2010 04:25:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) ----------MB_8CD640881E18318_1354_14C0C_web-mmc-m02.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" =20 Hi there, reading through the man page for date, I found this two that look like a= typo, (=C3=A2) I guess I could be wrong, but: %x locale=C3=A2s date representation (e.g., 12/31/99) %X locale=C3=A2s time representation (e.g., 23:13:48) Regards, tsener ----------MB_8CD640881E18318_1354_14C0C_web-mmc-m02.sysops.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi there,

reading through the man page for date,  I found this two that look li= ke a typo, (
=C3=A2
) I guess I could be wrong, but:
 %x    locale=C3=A2s date representation (e.g., 12/31/= 99)
 %X     locale=C3=A2s time representation (e.g.,= 23:13:48)


Regards,
tsener

----------MB_8CD640881E18318_1354_14C0C_web-mmc-m02.sysops.aol.com-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 07 10:09:34 2010 Received: (at 7577) by debbugs.gnu.org; 7 Dec 2010 15:09:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPzAb-0007N6-Pg for submit@debbugs.gnu.org; Tue, 07 Dec 2010 10:09:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPzAY-0007Mq-WB for 7577@debbugs.gnu.org; Tue, 07 Dec 2010 10:09:32 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB7FFNIc021860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 7 Dec 2010 10:15:23 -0500 Received: from [10.3.113.117] (ovpn-113-117.phx2.redhat.com [10.3.113.117]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB7FFMLd025108; Tue, 7 Dec 2010 10:15:23 -0500 Message-ID: <4CFE4F8A.2000202@redhat.com> Date: Tue, 07 Dec 2010 08:15:22 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 MIME-Version: 1.0 To: tsener@bsdmail.com Subject: Re: bug#7577: non-ascii char in manpage References: <8CD640881DF21B6-1354-A45A@web-mmc-m02.sysops.aol.com> In-Reply-To: <8CD640881DF21B6-1354-A45A@web-mmc-m02.sysops.aol.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig08F99D7F17D4E922D596879E" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.2 (----------) X-Debbugs-Envelope-To: 7577 Cc: 7577@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig08F99D7F17D4E922D596879E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/07/2010 02:30 AM, tsener@bsdmail.com wrote: > Hi there, >=20 > reading through the man page for date, I found this two that look like= a typo, (=C3=A2) I guess I could be wrong, but: > %x locale=C3=A2s date representation (e.g., 12/31/99) > %X locale=C3=A2s time representation (e.g., 23:13:48) Thanks for the report. This is not a bug in coreutils, per se. Rather, it is probably an issue that help2man (which is how we generate man pages automatically from 'date --help' output) is outputting a raw ASCII ' (rather than using roff markup for an apostrophe that renders better according to locale, or even the roff markup for an explicit \x27 byte regardless of locale). Then, you couple that with some versions of man that try to display unescaped ' in man sources as a nicer charset-specific =E2=80=99 (here's hoping your email program renders that= decently), but in such a manner that it used a different charset encoding than what your current terminal supports, resulting in the wrong glyph being displayed. I don't know if there's anything coreutils could do to address this. You might want to raise a bug report with help2man to see if that program can do a better job of converting ` and ' into appropriate roff escapes (whether for literal ASCII bytes, or for stylized locale-specific angled single quotes - it may require some hefty heuristics to get right, when translating from simple --help output). Or, you might file a bug report against your distro's version of man for being "too" smart and transliterating raw apostrophes into the wrong charset rather than passing them through unchanged. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig08F99D7F17D4E922D596879E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJM/k+KAAoJEKeha0olJ0NqEL0H/j4WwBgvtQDBIv8LSKo0Doa6 g3aFu7o+cU8ctJAGsZ2Y0ZhHkY9OScXDGpANRSHd8YpEM5g9rm8g7yU80xiophyQ 1qHcC4JfLqAflWO4zjcPNXB0dRz3KXeZGDOUyikb2Ibkkpmh0odFqUA4Ahj233yI UcREWv5NA1PJN3pnW7ouz8HCkCOpS0BBhy0UjOgJPRcqk8YtZVxV6LrTRhmhkad6 PL0eodfioJazoRvaxywC/6AQ8GMDLyNPQUCA8I4E9PoA0B9HmeoPXoje654gYPpk F1rIb6G2eGAW4/XZ/hBgvj5XD5alF4dFbRXS0NZtDAs0o6/nhCf28cGDGJLAb9c= =XoNJ -----END PGP SIGNATURE----- --------------enig08F99D7F17D4E922D596879E-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 10:46:15 2011 Received: (at 7577-done) by debbugs.gnu.org; 3 Jul 2011 14:46:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdNw7-0000eb-7Q for submit@debbugs.gnu.org; Sun, 03 Jul 2011 10:46:15 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdNvz-0000eF-AI for 7577-done@debbugs.gnu.org; Sun, 03 Jul 2011 10:46:12 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 71BC8600D3; Sun, 3 Jul 2011 16:46:01 +0200 (CEST) From: Jim Meyering To: tsener@bsdmail.com Subject: Re: bug#7577: non-ascii char in manpage In-Reply-To: <8CD640881DF21B6-1354-A45A@web-mmc-m02.sysops.aol.com> (tsener@bsdmail.com's message of "Tue, 07 Dec 2010 04:30:23 -0500") References: <8CD640881DF21B6-1354-A45A@web-mmc-m02.sysops.aol.com> Date: Sun, 03 Jul 2011 16:46:01 +0200 Message-ID: <87boxb5snq.fsf@rho.meyering.net> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 7577-done Cc: 7577-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) tsener@bsdmail.com wrote: > reading through the man page for date, I found this two that look like > a typo, (=E2) I guess I could be wrong, but: > %x locale=E2s date representation (e.g., 12/31/99) > %X locale=E2s time representation (e.g., 23:13:48) Thanks for the report. I'm marking this as closed, since the generated man.1 file seems to be ok. Feel free to reopen if you find it's still a problem: $ grep 'locale.*date.rep' man/date.1 locale's date representation (e.g., 12/31/99) From unknown Mon Aug 18 14:22:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Aug 2011 11:24:06 +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