GNU bug report logs - #17044
R6RS open-input-file failed to recognize UTF-8 encoded file

Previous Next

Package: guile;

Reported by: Xin Wang <dram.wang <at> gmail.com>

Date: Thu, 20 Mar 2014 00:42:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xin Wang <dram.wang <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: R6RS open-input-file failed to recognize UTF-8 encoded file
Date: Thu, 20 Mar 2014 08:41:15 +0800
[Message part 1 (text/plain, inline)]
`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.
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.