fix error reporting in `reencode-output-port'
Closes PR 12077 original commit: 61f628f2c6cdd5ae355156f6c37b2c458af1e2c3
This commit is contained in:
parent
4757e1cc6a
commit
61d3c80212
|
@ -1469,7 +1469,7 @@
|
|||
[convert-newlines-to #f]
|
||||
[decode-error (lambda (msg port)
|
||||
(error 'reencode-input-port
|
||||
(format "~a: ~e" msg)
|
||||
(format "~a: ~~e" msg)
|
||||
port))])
|
||||
(let ([c (bytes-open-converter "UTF-8" encoding)]
|
||||
[ready-bytes (make-bytes 1024)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user