[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: r6rs-ports.test is failing
From: |
Ludovic Courtès |
Subject: |
Re: r6rs-ports.test is failing |
Date: |
Fri, 17 Dec 2010 14:51:17 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Hi!
Sorry for the late reply.
<address@hidden> writes:
> $ git describe
> release_1-9-13-107-ga0ad8ad
>
> $ ./check-guile r6rs-ports.test
> Testing /home/dsmith/src/guile/meta/guile ... r6rs-ports.test
> with GUILE_LOAD_PATH=/home/dsmith/src/guile/test-suite
> Running r6rs-ports.test
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [2 args]
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [3 args]
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [4 args]
> ERROR: r6rs-ports.test: 8.2.6 Input and output ports: transcoded-port [error
> handling mode = replace] - arguments: ((encoding-error "scm_from_stringn"
> "input locale conversion error" 84 "UTF-8" "UTF-32" #vu8(255 1 2 3 103 110
> 117)))
Can you try this?
(define p (open-bytevector-input-port #vu8(255 1 2 3 103 110 117)))
(set-port-conversion-strategy! p 'substitute)
(get-line p)
Here on x86_64-linux-gnu, with libunistring 0.9.3, it returns a
7-character string ending in “gnu”.
Thanks,
Ludo’.