From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: =?utf-8?q?Re=3A_The_=E2=80=9Cbinary-friendly=E2=80=9D_Latin-1?= Date: Wed, 26 Jan 2011 10:31:10 -0800 (PST) Message-ID: <140262.72997.qm@web37904.mail.mud.yahoo.com> Reply-To: Mike Gran 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 1296066833 5186 80.91.229.12 (26 Jan 2011 18:33:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 18:33:53 +0000 (UTC) Cc: "guile-devel@gnu.org" To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 26 19:33:49 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 1PiABf-0000NA-O2 for guile-devel@m.gmane.org; Wed, 26 Jan 2011 19:33:48 +0100 Original-Received: from localhost ([127.0.0.1]:55848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiA9E-0000yi-GR for guile-devel@m.gmane.org; Wed, 26 Jan 2011 13:31:16 -0500 Original-Received: from [140.186.70.92] (port=46030 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiA9A-0000x2-ME for guile-devel@gnu.org; Wed, 26 Jan 2011 13:31:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiA99-0001R5-I5 for guile-devel@gnu.org; Wed, 26 Jan 2011 13:31:12 -0500 Original-Received: from web37904.mail.mud.yahoo.com ([209.191.91.166]:38842) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PiA99-0001Qd-Ch for guile-devel@gnu.org; Wed, 26 Jan 2011 13:31:11 -0500 Original-Received: (qmail 74683 invoked by uid 60001); 26 Jan 2011 18:31:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1296066670; bh=sECOtDAov5InAS1I7ds58gANO6r7dpu1IuvG0Xqwsl4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PyoJ8G3LSGFAmu1lRqWfNeWePPEqXsz+ctl+ewKcbd5IfHKrhIrjXqo9DU96UJzNJ+lMkYud+ut0GMQmi50rl6c4xUR96igFrYyx16tV9vKmpQz4fpgcIn4dPwsLciFAcg8WTWdZYewPVdupCwNmYrewd+3Qfrzl5nfOYSUuHUA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PZKUMdEnqK2ZwZfY/uBsvJV7HRrPpEPQzijt9FLNQlXLZBIw5/zjeXELajI8uoDo2gPYPUSit65XgWEe+5Tgcj4ISjFInFzWNY+DUPjvP2BHj1iX/kpMDYQHtaoCNi4cI/56QW03DCkoPeludbv/QObHfAjRjn9NrFrpC7B8EhQ=; X-YMail-OSG: XWst2bQVM1nsQ6fjYzLr_6gqHo.hkVBqplBS23rdjKooABG bq_qrQqK2lpnraYxdynPKy9kBz.5wff2tPg4OzVCJvhjT.RUn2pRREzvSiol 4fUKQtCs9StI4N2o0RKqP4nRRcQ3Ar91O1auCBWw3MCV3hu8QQ3ceFiR2yxI 82JOsgPNIvYk9c8P1Yldh8N3V_SJoASGhltrAtGEzpexyLbgX7W6dnxz8ogW iAEEk.jCcy64U2uL4GFSAifM3N1TX2Z95uPDbAKS_O.7a7v9mDB4F.2Hh76U 1ObyELwuXVXATCP0WsX7lGCUQCHnFjSdnYx1TF2QDSDUxW5Zkm6LfRdLevVb tAj3V_lp8bBk_L_VSrO5oROvGV37tDQCFNoxulCPTj1NyGIMl2OWFNNMxLu8 - Original-Received: from [207.8.91.2] by web37904.mail.mud.yahoo.com via HTTP; Wed, 26 Jan 2011 10:31:10 PST X-Mailer: YahooMailWebService/0.8.107.285259 X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) 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:11344 Archived-At: > >=0A> > Cool.=C2=A0 Have you considered what you would want to do with = =0A> > the 'recv!' procedure?=0A> =0A> Hmm no.=C2=A0 Ideas?=0A> =0A> Perhap= s the second argument could be changed to be a string, in which=0A> case it= would issue a deprecation warning, or a bytevector.=C2=A0 But when=0A> it= =E2=80=99s a string, it=E2=80=99s bound to break unless the program explici= tly chooses=0A> a Latin-1 encoding.=0A=0Arecv, send, etc are clearly byteve= ctor routines.=C2=A0 But, if you want to keep=0Abackward compatibility, you= should have it handle both cases.=C2=A0 =0A=0AIMHO, the idea of deprecatin= g the use of strings is the wrong one.=C2=A0 Either=0Abe bold and get rid o= f strings for 2.0, or let them be both bytevector=0Aand string functions fo= r the foreseeable future.=0A=0AIf strings remain an option, there will have= to be some mention of the=0A"binary-friendly" Latin-1 encoding.=C2=A0 ;-)= =0A=0AAlso, if bytevectors are going to be used for these things, I think= =0Ayou might consider have (rnrs bytevectors) be loaded by default for 2.0.= =0A=0A> =0A> Thanks,=0A> Ludo=E2=80=99.=0A=0AThanks,=0A=0AMike