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: Tue, 12 May 2009 01:17:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Thien-Thi Nguyen <address@hidden> writes:

> FWIW, Guile 1.4.x can:
>
> string> (string #\nul)
> "^@"

Actually, it works as well with 1.8:

--8<---------------cut here---------------start------------->8---
guile> (string #\nul)
$1 = "\x00"
--8<---------------cut here---------------end--------------->8---

The "string contains #\nul character" message comes from
`scm_to_locale_stringn ()', which converts a string to a C `char *'.

It would be good to investigate how Guile-WWW reaches that code,
probably when calling some POSIX wrapper.

Thanks,
Ludo'.





reply via email to

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