From unknown Tue Jun 24 20:50:05 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#11486 <11486@debbugs.gnu.org> To: bug#11486 <11486@debbugs.gnu.org> Subject: Status: coreutils base64 Reply-To: bug#11486 <11486@debbugs.gnu.org> Date: Wed, 25 Jun 2025 03:50:05 +0000 retitle 11486 coreutils base64 reassign 11486 coreutils submitter 11486 Marsaleix Thomas severity 11486 normal tag 11486 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 16 12:18:47 2012 Received: (at submit) by debbugs.gnu.org; 16 May 2012 16:18:47 +0000 Received: from localhost ([127.0.0.1]:57917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUgw1-0003qU-Rn for submit@debbugs.gnu.org; Wed, 16 May 2012 12:18:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54299) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUdlc-0007Uv-K5 for submit@debbugs.gnu.org; Wed, 16 May 2012 08:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUdlJ-0008BG-Ki for submit@debbugs.gnu.org; Wed, 16 May 2012 08:55:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUdlJ-0008B0-I1 for submit@debbugs.gnu.org; Wed, 16 May 2012 08:55:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUdlE-0000Ka-OW for bug-coreutils@gnu.org; Wed, 16 May 2012 08:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUdl8-00087U-9j for bug-coreutils@gnu.org; Wed, 16 May 2012 08:55:24 -0400 Received: from mailout-eu.gmx.com ([213.165.64.42]:47400) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SUdl8-00086p-3X for bug-coreutils@gnu.org; Wed, 16 May 2012 08:55:18 -0400 Received: (qmail invoked by alias); 16 May 2012 12:55:15 -0000 Received: from 213-245-238-14.rev.numericable.fr (EHLO localhost) [213.245.238.14] by mail.gmx.com (mp-eu004) with SMTP; 16 May 2012 14:55:15 +0200 X-Authenticated: #117558429 X-Provags-ID: V01U2FsdGVkX1+lJ/ksblmlWz4ng5yNHuiEFTAZQLM/XBkAsIsfAr n49npP8dCQtg64 Date: Wed, 16 May 2012 14:58:35 +0200 From: Marsaleix Thomas To: bug-coreutils@gnu.org Subject: coreutils base64 Message-ID: <20120516125835.GA32572@mlouk.dyndns-mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-06-14) X-Y-GMX-Trusted: 0 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, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 May 2012 12:18:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (------) Hello, Base64 encode 'è' with '6Ao='. After différents test I find '6A==', In base16, 'è'==E8. in binary string, 'è'=11101000 (== 256) 111010 =(decimal:) 58 =(base64:)6 000000 =(decimal:) 0 =(base64:)0 base64 (GNU coreutils) 8.5 Cordialement Thomas. From debbugs-submit-bounces@debbugs.gnu.org Wed May 16 14:28:48 2012 Received: (at control) by debbugs.gnu.org; 16 May 2012 18:28:48 +0000 Received: from localhost ([127.0.0.1]:58003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUixs-0007D3-4D for submit@debbugs.gnu.org; Wed, 16 May 2012 14:28:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37145) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUixp-0007Cn-A8; Wed, 16 May 2012 14:28:47 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4GISAQd012917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 May 2012 14:28:30 -0400 Received: from [10.3.113.4] ([10.3.113.4]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4GGWLQu012498; Wed, 16 May 2012 12:32:22 -0400 Message-ID: <4FB3D695.5040403@redhat.com> Date: Wed, 16 May 2012 10:32:21 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Marsaleix Thomas Subject: Re: bug#11487: coreutils:base64 References: <20120516132526.GA5678@mlouk.dyndns-mail.com> In-Reply-To: <20120516132526.GA5678@mlouk.dyndns-mail.com> X-Enigmail-Version: 1.4.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD8003AFC255AB4B9B863D6F1" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control Cc: 11487@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD8003AFC255AB4B9B863D6F1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable merge 11486 11487 tag 11487 notabug close 11487 thanks On 05/16/2012 07:25 AM, Marsaleix Thomas wrote: > rehello, > That's ok, my problem come from new line. > echo "=E8" | base64=20 > is: > "=E8\n" | base64=20 > and: echo -n "=E8" | base64 works better. Glad to hear you figured it out, and that it is not a bug. I'm closing this report. As a side note, 'echo -n' is not portable. You should really get in the habit of using 'printf' instead. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigD8003AFC255AB4B9B863D6F1 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.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPs9aVAAoJEKeha0olJ0NqVhgH/0b02W8nLlXFfK1qtDwQC+3M KTPGitWv22tDf9A4xMfmf+SolzviKvRp0eqUUSPjJuR9ucA6rVtkM2wc+w48mV1O +v8V0JJlxnh8iGy+nLprIDIhYkwHb1tLrZgFSLCT1YNOPG8RVP2sKTg2j2Hh76pL uSv5Bh4uE68UK19NFVvb1pH2Y3bt21sQ/RvlVZKiwKS+f3MUi9Aeb6trQv9pgNws GElTDKBLp1W5lFrj8iBhhD2LSu8pBfGvK8u+eOP+j9buGE+0Z2g1HCokER6WwF6b k2GyqKQMNgcFdycSJIAc3SuEdDACiHU6Jcn36QKZTPUbraEaPK5s13D1GMhiVug= =Yeut -----END PGP SIGNATURE----- --------------enigD8003AFC255AB4B9B863D6F1-- From unknown Tue Jun 24 20:50:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Jun 2012 11:24:03 +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