> From: l...@gnu.org (Ludovic Courtès) > Date: Fri, 17 Jun 2016 10:10:34 +0200 > Cc: "guile-user@gnu.org" <guile-user@gnu.org> > > Guile converts file names to the current locale encoding before passing > them to the POSIX system calls. > > What happens here is that the current locale encoding that is detected > is ANSI_X3.4-1968 (aka. ASCII), but converting the string (which is most > likely ASCII) to that encoding fails. > > This is a bit ridiculous, but except for UTF-8 and ISO-8859-1 which > Guile handles internally, it resorts to iconv(3). Apparently iconv(3) > doesn’t know this encoding name
It should, though. On my system, "iconv -l | fgrep ASCII" produces this output: ANSI_X3.4-1968 ANSI_X3.4-1986 ASCII CP367 IBM367 ISO-IR-6 ISO646-US ISO_646.IRV:1991 US US-ASCII CSASCII