bug#20200: GUILE 2.0.11: open-bytevector-input-port fails to open in binary mode

2015-03-28 Thread Mark H Weaver
Fixed in d574d96f879c147c6c14df43f2e4ff9e8a6876b9, which will be in Guile 2.0.12. I'm closing this bug now. Thanks, Mark

bug#20200: GUILE 2.0.11: open-bytevector-input-port fails to open in binary mode

2015-03-26 Thread Mark H Weaver
David Kastrup writes: > Run the following code in an UTF-8 capable locale: > > (setlocale LC_ALL "") > (use-modules (rnrs io ports) (rnrs bytevectors) (ice-9 format)) > (let ((p (open-bytevector-input-port > (u8-list->bytevector '(#xc3 #x9f #xc3 #X9f) > (format #t "~a ~a\n" (port-en

bug#20200: GUILE 2.0.11: open-bytevector-input-port fails to open in binary mode

2015-03-25 Thread David Kastrup
Run the following code in an UTF-8 capable locale: (setlocale LC_ALL "") (use-modules (rnrs io ports) (rnrs bytevectors) (ice-9 format)) (let ((p (open-bytevector-input-port (u8-list->bytevector '(#xc3 #x9f #xc3 #X9f) (format #t "~a ~a\n" (port-encoding p) (binary-port? p)) (for