fix error reporting in `reencode-input-port'
Closes PR 12076 original commit: e01ee43300a163bddd89240f75d3198cd9d2aa8d
This commit is contained in:
parent
fd0971909b
commit
4757e1cc6a
|
@ -1332,7 +1332,7 @@
|
|||
[newline-convert? #f]
|
||||
[decode-error (lambda (msg port)
|
||||
(error 'reencode-input-port
|
||||
(format "~a: ~e" msg)
|
||||
(format "~a: ~~e" msg)
|
||||
port))])
|
||||
(let ([c (let ([c (bytes-open-converter encoding "UTF-8")])
|
||||
(if newline-convert? (mcons c #f) c))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user