[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 regression in guile 1.9.5
From: |
Andy Wingo |
Subject: |
Re: UTF-8 regression in guile 1.9.5 |
Date: |
Mon, 11 Jan 2010 22:18:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
On Mon 11 Jan 2010 14:38, address@hidden (Ludovic Courtès) writes:
> Mike Gran <address@hidden> writes:
>
>> But as far as the greater question of the side effects of setting locale
>> early on startup... The parsing of any source code files after locale
>> is set will be done in that context. I don't think it would do anything
>> unexpected. The reader and the port routines tend to do their own parsing,
>> and don't tend to rely on libc locale-specific routines. Even so, it
>> would take some auditing to prove that there would be no effect.
>
> Source files should have the right ‘coding:’ meta anyway. I just
> changed the compiler to install the current user locale [0], as that’s
> typically what a standalone program does.
If we're taking this tack, perhaps we should setlocale in the `guile'
binary (but not by default when used by a library).
Andy
--
http://wingolog.org/