From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.user Subject: Re: guile 2.0.9 build on mingw Date: Wed, 19 Jun 2013 23:02:06 +0300 Message-ID: <83fvwdq37l.fsf@gnu.org> References: <83sj1hv2ml.fsf@gnu.org> <874ndx9y7h.fsf@pobox.com> <83ip2bt4qk.fsf@gnu.org> <8761xqhyyt.fsf@gnu.org> <83li6mt18y.fsf@gnu.org> <83wqq3mcq9.fsf@gnu.org> <87k3m3kor5.fsf@gnu.org> <83ehcalysu.fsf@gnu.org> <87sj0pvl4a.fsf@tines.lan> <837gi1n3v5.fsf@gnu.org> <87k3m1vg8b.fsf@tines.lan> <83txl4lhby.fsf@gnu.org> <838v2fky99.fsf@gnu.org> <83ip1iw2lu.fsf@gnu.org> <877ghu14qg.fsf@gnu.org> <83zjuosq1s.fsf@gnu.org> <87sj0frvv5.fsf@gnu.org> <87hagvcav6.fsf@tines.lan> <87bo71dhqt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1371672134 6265 80.91.229.3 (19 Jun 2013 20:02:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 20:02:14 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jun 19 22:02:14 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpOa3-0001zJ-Ie for guile-user@m.gmane.org; Wed, 19 Jun 2013 22:02:11 +0200 Original-Received: from localhost ([::1]:58178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpOa3-0004Qb-5I for guile-user@m.gmane.org; Wed, 19 Jun 2013 16:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpOZu-0004QF-5a for guile-user@gnu.org; Wed, 19 Jun 2013 16:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpOZs-0008ES-N1 for guile-user@gnu.org; Wed, 19 Jun 2013 16:02:02 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:56502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpOZs-0008EG-Ey; Wed, 19 Jun 2013 16:02:00 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MON00G00OVV7S00@a-mtaout22.012.net.il>; Wed, 19 Jun 2013 23:01:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MON00F7VOZAR480@a-mtaout22.012.net.il>; Wed, 19 Jun 2013 23:01:59 +0300 (IDT) In-reply-to: <87bo71dhqt.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10482 Archived-At: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Cc: Eli Zaretskii , guile-user@gnu.org > Date: Wed, 19 Jun 2013 21:26:34 +0200 >=20 > > diff --git a/test-suite/tests/ports.test b/test-suite/tests/ports= .test > > index 9b1c6c0..758f8f6 100644 > > --- a/test-suite/tests/ports.test > > +++ b/test-suite/tests/ports.test > > @@ -238,7 +238,7 @@ > > (pass-if "file: binary mode ignores port encoding" > > (with-fluids ((%default-port-encoding "UTF-8")) > > (let* ((filename (test-file)) > > - (port (open-file filename "w")) > > + (port (open-file filename "wb")) > > (test-string "=E4=B8=80=E4=BA=8C=E4=B8= =89") > > (binary-test-string > > (apply string > > @@ -257,7 +257,7 @@ > > (pass-if "file: binary mode ignores file coding declaration" > > (with-fluids ((%default-port-encoding "UTF-8")) > > (let* ((filename (test-file)) > > - (port (open-file filename "w")) > > + (port (open-file filename "wb")) > > (test-string "=E4=B8=80=E4=BA=8C=E4=B8= =89") > > (binary-test-string > > (apply string >=20 > Yes, looks good. But this doesn't work. You get "???" in the file, because binary ports cannot have encoding. As I wrote, I tried that, and when it didn't work, debugged it and saw that this is simply not supported (the docs say as much). What am I missing?