[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: decoding error
From: |
Ludovic Courtès |
Subject: |
Re: decoding error |
Date: |
Tue, 16 Jun 2015 13:20:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> Emacs says that the file is encoded with iso-8859-1-unix
In that case the solution is to tell Guile to use ISO-8859-1 as the
default encoding where you fiddle with that file:
(paramaterize ((%default-port-encoding "ISO-8859-1"))
(substitute* ...))
(This is equivalent to what Ricardo suggested, but making the encoding
name explicit is clearer in this case.)
Ludo’.