From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: The =?utf-8?b?4oCcYmluYXJ5LWZyaWVuZGx54oCd?= Latin-1 Date: Tue, 25 Jan 2011 20:58:51 +0100 Message-ID: <871v40u550.fsf@gnu.org> References: <526443.96720.qm@web37901.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295985579 4302 80.91.229.12 (25 Jan 2011 19:59:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 19:59:39 +0000 (UTC) Cc: "guile-devel@gnu.org" To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 25 20:59:33 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Php36-0008WI-4e for guile-devel@m.gmane.org; Tue, 25 Jan 2011 20:59:32 +0100 Original-Received: from localhost ([127.0.0.1]:53667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Php35-0001LH-D7 for guile-devel@m.gmane.org; Tue, 25 Jan 2011 14:59:31 -0500 Original-Received: from [140.186.70.92] (port=33697 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Php2W-00015U-Fp for guile-devel@gnu.org; Tue, 25 Jan 2011 14:59:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Php2V-0008Iq-Kd for guile-devel@gnu.org; Tue, 25 Jan 2011 14:58:56 -0500 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:28190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Php2V-0008IR-Ca for guile-devel@gnu.org; Tue, 25 Jan 2011 14:58:55 -0500 X-IronPort-AV: E=Sophos;i="4.60,375,1291590000"; d="scan'208";a="87988409" Original-Received: from reverse-83.fdn.fr (HELO nixey) ([80.67.176.83]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 25 Jan 2011 20:58:53 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?iso-8859-1?Q?Pluvi=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <526443.96720.qm@web37901.mail.mud.yahoo.com> (Mike Gran's message of "Tue, 25 Jan 2011 06:01:35 -0800 (PST)") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11338 Archived-At: Hi! Mike Gran writes: >> From:Ludovic Court=C3=A8s > >> Hello! >>=20 >> >> 1. The notion of a =E2=80=9Cbinary-friendly=E2=80=9D ISO-8859-1 enc= oding? It=E2=80=99s >> >> actually mostly gone with the iconv change, since every textual >> >> access goes through iconv. For binary accesses, the right API is >> >> (rnrs io ports) or similar. >> > >> > An equivalent question is if you care about backward compatibility of >> > legacy ports. Legacy ports returned strings and were once the only op= tion. >>=20 >> You mean if there=E2=80=99s legacy code using a port of unspecified enco= ding to >> read binary data, right? >>=20 >> The iconv change doesn=E2=80=99t break it on GNU/Linux: > > Cool. Have you considered what you would want to do with=20 > the 'recv!' procedure? Hmm no. Ideas? Perhaps the second argument could be changed to be a string, in which case it would issue a deprecation warning, or a bytevector. But when it=E2=80=99s a string, it=E2=80=99s bound to break unless the program expli= citly chooses a Latin-1 encoding. Thanks, Ludo=E2=80=99.