From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: Uploading Word documents, PDFs, PNG files etc Date: Mon, 11 May 2009 17:55:18 +0200 Message-ID: <87octzvdll.fsf@ambire.localdomain> References: <87bppzbro3.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: ger.gmane.org 1242063470 16313 80.91.229.12 (11 May 2009 17:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 17:37:50 +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 Mon May 11 19:37:40 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3ZRM-0004yh-6a for guile-user@m.gmane.org; Mon, 11 May 2009 19:37:24 +0200 Original-Received: from localhost ([127.0.0.1]:36094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3ZRL-0004AS-Bz for guile-user@m.gmane.org; Mon, 11 May 2009 13:37:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3ZRE-00048v-Cf for guile-user@gnu.org; Mon, 11 May 2009 13:37:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3ZRA-00047x-IL for guile-user@gnu.org; Mon, 11 May 2009 13:37:16 -0400 Original-Received: from [199.232.76.173] (port=32941 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3ZRA-00047s-7x for guile-user@gnu.org; Mon, 11 May 2009 13:37:12 -0400 Original-Received: from smtp-out28.alice.it ([85.33.2.28]:3748) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3ZR7-0005FR-RM; Mon, 11 May 2009 13:37:10 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out28.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 May 2009 19:36:49 +0200 Original-Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 May 2009 19:36:49 +0200 Original-Received: from ambire.localdomain ([79.45.68.131]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 May 2009 19:36:48 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1M3XqY-0003Hq-Oi; Mon, 11 May 2009 17:55:18 +0200 In-Reply-To: <87bppzbro3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 11 May 2009 17:11:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 11 May 2009 17:36:49.0060 (UTC) FILETIME=[10197640:01C9D25F] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7285 Archived-At: () ludo@gnu.org (Ludovic Court=C3=A8s) () Mon, 11 May 2009 17:11:40 +0200 The problem is that Guile strings cannot contain null characters. FWIW, Guile 1.4.x can: string> (string #\nul) "^@" It may be a design flaw in Guile-WWW, which abuses strings to store binary data. I see it rather as using a Guile feature that was subsequently removed (much after the design of Guile-WWW was done). Looks like we'll need to add an ./configure check for Guile-WWW for such situations... thi