io: fix decoding in get-output-bytes
This commit is contained in:
parent
09b3b2fb3c
commit
74b34c210d
|
@ -19,4 +19,4 @@
|
|||
(check who (lambda (v) (and (output-port? o) (string-port? o)))
|
||||
#:contract "(and/c output-port? string-port?)"
|
||||
o)
|
||||
(bytes->string/utf-8 (get-output-bytes o) #\?))
|
||||
(bytes->string/utf-8 (get-output-bytes o) #\uFFFD))
|
||||
|
|
Loading…
Reference in New Issue
Block a user