mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 20:30:28 +02:00
Fix use of port-encoding
* module/ice-9/ports.scm (clear-stream-start-for-bom-read): Fix to use %port-encoding, which works in symbols.
This commit is contained in:
parent
0b4b4db9fa
commit
bed7bdc19c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ interpret its input and output."
|
|||
(lp (1+ i)))))))))
|
||||
(when (and (port-clear-stream-start-for-bom-read port)
|
||||
(eq? io-mode 'text))
|
||||
(case (port-encoding port)
|
||||
(case (%port-encoding port)
|
||||
((UTF-8)
|
||||
(maybe-consume-bom utf8-bom))
|
||||
((UTF-16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue