fix error reporting in `reencode-output-port'

Closes PR 12077

original commit: 61f628f2c6cdd5ae355156f6c37b2c458af1e2c3
This commit is contained in:
Eli Barzilay 2011-07-25 23:46:16 -04:00
parent 4757e1cc6a
commit 61d3c80212

View File

@ -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)]