* bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file
@ 2014-03-20 0:41 Xin Wang
2014-03-20 3:45 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Xin Wang @ 2014-03-20 0:41 UTC (permalink / raw)
To: 17044
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
`open-input-file' in (rnrs io simple) can not recognize UTF-8 encoded file,
`open-input-file' in core do not have this problem.
I think it is caused by a bug in definition of `open-input-file', which
forget to pass third argument `buffer-mode' to `open-file-input-port'.
BTW, `open-output-file' seems to have a similar problem.
[-- Attachment #2: Type: text/html, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file
2014-03-20 0:41 bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file Xin Wang
@ 2014-03-20 3:45 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2014-03-20 3:45 UTC (permalink / raw)
To: Xin Wang; +Cc: 17044-done
Xin Wang <dram.wang@gmail.com> writes:
> `open-input-file' in (rnrs io simple) can not recognize UTF-8 encoded
> file, `open-input-file' in core do not have this problem.
>
> I think it is caused by a bug in definition of `open-input-file',
> which forget to pass third argument `buffer-mode' to
> `open-file-input-port'.
Indeed, thanks for tracking this down.
> BTW, `open-output-file' seems to have a similar problem.
Fixed in 5dcbcfcef8eefd1f9e57d8ba69efe1ca945c95b1. This will be in
2.0.11, which will most likely be released within a couple of days.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-20 3:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 0:41 bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file Xin Wang
2014-03-20 3:45 ` Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).