all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: decoding error
Date: Tue, 16 Jun 2015 13:20:11 +0200	[thread overview]
Message-ID: <87d20vyk5w.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPNguaFaWqBcedhU63g1jpsYDdxm8Wc-qdSLaAzHHNCWDg@mail.gmail.com> (Federico Beffa's message of "Tue, 16 Jun 2015 12:03:48 +0200")

Federico Beffa <beffa@ieee.org> 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’.

  parent reply	other threads:[~2015-06-16 11:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 10:03 decoding error Federico Beffa
2015-06-16 10:07 ` Ricardo Wurmus
2015-06-16 11:20   ` Federico Beffa
2015-06-16 11:20 ` Ludovic Courtès [this message]
2015-06-16 16:12   ` Federico Beffa
2015-06-17  8:09     ` Federico Beffa
2015-06-17 19:39       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d20vyk5w.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.