Hi! Sorry for the late reply.
<[email protected]> 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’.
