From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: Re: r6rs-ports.test is failing Date: Fri, 17 Dec 2010 11:30:10 -0500 Message-ID: <20101217163011.4462V.3548.root@cdptpa-web06-z01> References: <871v5g5wyy.fsf@gnu.org> 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 1292603438 12285 80.91.229.12 (17 Dec 2010 16:30:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 16:30:38 +0000 (UTC) To: =?utf-8?Q?Ludovic_Court=C3=A8s?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Dec 17 17:30:34 2010 Return-path: Envelope-to: guile-bugs@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 1PTdCU-0007co-Dy for guile-bugs@m.gmane.org; Fri, 17 Dec 2010 17:30:34 +0100 Original-Received: from localhost ([127.0.0.1]:58906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTdCT-0006Ga-Tl for guile-bugs@m.gmane.org; Fri, 17 Dec 2010 11:30:33 -0500 Original-Received: from [140.186.70.92] (port=37465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTdCN-0006CE-Fl for bug-guile@gnu.org; Fri, 17 Dec 2010 11:30:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTdCK-0003Gw-Iz for bug-guile@gnu.org; Fri, 17 Dec 2010 11:30:27 -0500 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:46801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTdCK-0003FO-F4 for bug-guile@gnu.org; Fri, 17 Dec 2010 11:30:24 -0500 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=dsmich@roadrunner.com; auth=pass (LOGIN) X-Authority-Analysis: v=1.1 cv=pepdxKapwHuwCZNFD5uob2wvham6E+RljB0uXw08FdQ= c=1 sm=0 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=R_mrriVKY0ignCS5JUwA:9 a=SYNn_OSUXBNbkFLm7hQ6t963cIcA:4 a=QEXdDO2ut3YA:10 a=ii61gXl28gQA:10 a=cG6w2xKq0kBr3p27s0Loig==:117 X-Cloudmark-Score: 0 Original-Received: from [10.127.132.97] ([10.127.132.97:63420] helo=cdptpa-web06-z01) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id EB/D0-19545-2109B0D4; Fri, 17 Dec 2010 16:30:11 +0000 In-Reply-To: <871v5g5wyy.fsf@gnu.org> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4911 Archived-At: ---- "Ludovic Court=C3=A8s" wrote:=20 > Hi! >=20 > Sorry for the late reply. No problem! > Can you try this? >=20 > (define p (open-bytevector-input-port #vu8(255 1 2 3 103 110 117))) > (set-port-conversion-strategy! p 'substitute) > (get-line p) >=20 > Here on x86_64-linux-gnu, with libunistring 0.9.3, it returns a > 7-character string ending in =E2=80=9Cgnu=E2=80=9D. scheme@(guile-user)> (use-modules (rnrs)) scheme@(guile-user)> (define p (open-bytevector-input-port #vu8(255 1 2 3 1= 03 110 117))) scheme@(guile-user)> (set-port-conversion-strategy! p 'substitute) scheme@(guile-user)> (get-line p) $1 =3D "=EF=BF=BD\x01\x02\x03gnu" scheme@(guile-user)> (version) $2 =3D "1.9.13.176-3df53" That does look like a 7 char string ending in gnu. -Dale