[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22572: Handling of system 'locale' field needs improvement
From: |
Ludovic Courtès |
Subject: |
bug#22572: Handling of system 'locale' field needs improvement |
Date: |
Wed, 10 Feb 2016 15:20:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> Mark H Weaver <address@hidden> skribis:
>
>> Better yet, the value of the 'locale' field should be automatically
>> added to the default value of 'locale-definitions' if it's not already
>> there. The overwhelming majority of users set their 'locale' and have
>> no interest in 'locale-definitions'.
>
> What about this? This is not ideal in that it guesses the charset based
> on the locale name, which won’t always work (the locale name is supposed
> to use the normalized name, like “utf8”, whereas the real name is, say,
> “UTF-8”), but it should cover 90% of the use cases.
I pushed an improved version of the patch as f5582b2.
Ludo’.