[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Guile-commits] GNU Guile branch, string_abstraction2, updated. fc50
From: |
Ludovic Courtès |
Subject: |
Re: [Guile-commits] GNU Guile branch, string_abstraction2, updated. fc50695e8d6a5cc0cebc3a8fcd0833ec1ff316a2 |
Date: |
Thu, 18 Jun 2009 22:18:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Hello!
Mike Gran <address@hidden> writes:
> Setting a port's default encoding to Latin-1 doesn't work out so well in
> practice. For example, ports are used as the backend of procedures like
> with-input-from-file and with-output-to-string. Those procedures don't
> currently take any encoding information and presume some sort of default
> encoding.
Ooh, right.
> I prefer having a port inherit its default encoding from the last call
> to setlocale.
Inherit from the current locale, yes, that sounds preferable.
Thanks,
Ludo'.