[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file
From: |
Mark H Weaver |
Subject: |
bug#17044: R6RS open-input-file failed to recognize UTF-8 encoded file |
Date: |
Wed, 19 Mar 2014 23:45:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Xin Wang <address@hidden> 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