guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uploading Word documents, PDFs, PNG files etc


From: Ludovic Courtès
Subject: Re: Uploading Word documents, PDFs, PNG files etc
Date: Mon, 11 May 2009 17:11:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Hello,

Sebastian Tennant <address@hidden> writes:

>  string contains #\nul character: "\x0d

The problem is that Guile strings cannot contain null characters.  For
arbitrary binary data, other containers must be used, such as SRFI-4
u8vectors or R6RS bytevectors (from Guile-R6RS-Libs).

It may be a design flaw in Guile-WWW, which abuses strings to store
binary data.

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]