[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: |
Sat, 06 Jun 2009 15:23:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
Hi Mike,
Mike Gran <address@hidden> writes:
> It would make things easier to follow, but, pure 7-bit ASCII would hurt
> backwards compatibility. The libunistring conversion funcs do raise
> errors when 8-bit chars are converted into ASCII. ISO-8859-1 could be
> better so that 8-bit chars wouldn't cause errors by default.
Right, Latin-1 would be saner.
> Also, I guess setlocale is where one should modify the encodings of
> current-input-port, current-output-port and current-error-port,
> since they need special handling.
These could be Latin-1 when they are created, just like any other ports,
and soon after they would be switched to the current locale's encoding.
Thanks,
Ludo'.