GNU bug report logs -
#22572
Handling of system 'locale' field needs improvement
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Sat, 6 Feb 2016 14:23:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#22572: Handling of system 'locale' field needs improvement
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 22572 <at> debbugs.gnu.org.
--
22572: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22572
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
ludo <at> gnu.org (Ludovic Courtès) skribis:
> Mark H Weaver <mhw <at> netris.org> 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’.
[Message part 3 (message/rfc822, inline)]
Multiple users on #guix have been bitten by the following error message:
guix system: error: system locale lacks a definition
and even several seasoned developers on #guix didn't know the answer.
At minimum, the error message should be improved to point to the
relevant documentation.
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'.
Regards,
Mark
This bug report was last modified 9 years and 106 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.