* Locale
@ 2015-10-13 11:38 Andreas Enge
2015-10-13 11:55 ` Locale Ricardo Wurmus
2015-10-13 19:21 ` Locale Efraim Flashner
0 siblings, 2 replies; 6+ messages in thread
From: Andreas Enge @ 2015-10-13 11:38 UTC (permalink / raw)
To: guix-devel
Hello,
although I am afraid to raise allergic reactions, I must say that locales
do not seem to work any more on my guix on debian setting since the last
upgrade... Although I chose a utf8 locale, I am not seeing special characters
in mutt (taken from guix).
Hopefully it is just a simple matter of setting things up.
Currently I have this:
export LOCPATH=$HOME/.guix-profile/lib/locale:$HOME/.guix-profile/share/locale
as was suggested at some point in time by the search path directives.
Do I need to add "2.22/" to them?
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Locale
2015-10-13 11:38 Locale Andreas Enge
@ 2015-10-13 11:55 ` Ricardo Wurmus
2015-10-13 13:05 ` Locale Daniel Pimentel
2015-10-14 19:47 ` Locale Andreas Enge
2015-10-13 19:21 ` Locale Efraim Flashner
1 sibling, 2 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2015-10-13 11:55 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Hi Andreas,
> although I am afraid to raise allergic reactions, I must say that locales
> do not seem to work any more on my guix on debian setting since the last
> upgrade... Although I chose a utf8 locale, I am not seeing special characters
> in mutt (taken from guix).
>
> Hopefully it is just a simple matter of setting things up.
> Currently I have this:
> export LOCPATH=$HOME/.guix-profile/lib/locale:$HOME/.guix-profile/share/locale
> as was suggested at some point in time by the search path directives.
> Do I need to add "2.22/" to them?
according to the manual section “Locales” Guix’s libc respects
GUIX_LOCPATH.
libc suffixes each entry of @code{GUIX_LOCPATH} with @code{/X.Y}, where
@code{X.Y} is the libc version---e.g., @code{2.22}. This means that,
should your Guix profile contain a mixture of programs linked against
different libc version, each libc version will only try to load locale
data in the right format.
When using Guix on top of another distribution you should only set
GUIX_LOCPATH to make sure that only Guix programmes use the locales in
your profile. All other applications (those of the host system) will
continue to use the host system locales.
Hope this helps!
~~ Ricardo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Locale
2015-10-13 11:55 ` Locale Ricardo Wurmus
@ 2015-10-13 13:05 ` Daniel Pimentel
2015-10-14 19:47 ` Locale Andreas Enge
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Pimentel @ 2015-10-13 13:05 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel, guix-devel-bounces+d4n1=opmbx.org
My GuixSD returned to work with locale default (setted in
/etc/config.scm: (locale "en_US.UTF-8")) after upgrade.
Before I added in my .bashrc: LC_ALL=C to fix it. But it ins't required
to me.
Locale work now to me.
--
Daniel Pimentel (d4n1 3:)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Locale
2015-10-13 11:38 Locale Andreas Enge
2015-10-13 11:55 ` Locale Ricardo Wurmus
@ 2015-10-13 19:21 ` Efraim Flashner
1 sibling, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2015-10-13 19:21 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
On Tue, 13 Oct 2015 13:38:42 +0200
Andreas Enge <andreas@enge.fr> wrote:
> Hello,
>
> although I am afraid to raise allergic reactions, I must say that locales
> do not seem to work any more on my guix on debian setting since the last
> upgrade... Although I chose a utf8 locale, I am not seeing special
> characters in mutt (taken from guix).
>
> Hopefully it is just a simple matter of setting things up.
> Currently I have this:
> export
> LOCPATH=$HOME/.guix-profile/lib/locale:$HOME/.guix-profile/share/locale as
> was suggested at some point in time by the search path directives. Do I
> need to add "2.22/" to them?
>
> Andreas
>
>
this worked for me. before exporting GUIX_LOCPATH I had ???? wherever I had
hebrew in my mail in mutt. After exporting GUIX_LOCPATH suddenly all the
hebrew was there, albeit left-to-right, but I haven't tried to fix that yet
in my .muttrc
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Locale
2015-10-13 11:55 ` Locale Ricardo Wurmus
2015-10-13 13:05 ` Locale Daniel Pimentel
@ 2015-10-14 19:47 ` Andreas Enge
2015-10-14 21:45 ` Locale Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2015-10-14 19:47 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Hi Ricardo,
On Tue, Oct 13, 2015 at 01:55:38PM +0200, Ricardo Wurmus wrote:
> When using Guix on top of another distribution you should only set
> GUIX_LOCPATH to make sure that only Guix programmes use the locales in
> your profile. All other applications (those of the host system) will
> continue to use the host system locales.
thanks for summarising it again, and for bearing with me not reading Ludovic's
announcement more carefully!
Would it make sense to declare a search path with respect to GUIX_LOCPATH
then?
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Locale
2015-10-14 19:47 ` Locale Andreas Enge
@ 2015-10-14 21:45 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-10-14 21:45 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> Would it make sense to declare a search path with respect to GUIX_LOCPATH
> then?
It’s done, but it’s in libc, so you don’t see it unless you install
‘glibc’ in your profile.
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-10-14 21:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 11:38 Locale Andreas Enge
2015-10-13 11:55 ` Locale Ricardo Wurmus
2015-10-13 13:05 ` Locale Daniel Pimentel
2015-10-14 19:47 ` Locale Andreas Enge
2015-10-14 21:45 ` Locale Ludovic Courtès
2015-10-13 19:21 ` Locale Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).