From: Simon Tournier <zimon.toutoune@gmail.com>
To: Mauritz Stenek <mstenek@disroot.org>
Cc: guix-science@gnu.org
Subject: Re: Guix HPC Julia package encoding issue
Date: Tue, 5 Mar 2024 19:34:19 +0100 [thread overview]
Message-ID: <CAJ3okZ0JRRGDoYbN8ez2C0E4zM+MXb3McCLiBJg4rBnZ7PQN9g@mail.gmail.com> (raw)
In-Reply-To: <87il22r4w3.fsf@disroot.org>
Hi,
Just for the record, since I screwed up my reply-all. :-)
Cheers,
simon
From: Simon Tournier <zimon.toutoune@gmail.com>
Date: Mon, 4 Mar 2024 at 13:44
Subject: Re: Guix HPC Julia package encoding issue
To: Mauritz Stenek <mstenek@disroot.org>
Hi Mauritz,
On dim., 03 mars 2024 at 21:35, Mauritz Stenek via Guix-Science
<guix-science@gnu.org> wrote:
> I installed the julia (v1.9.3) package from the HPC Guix channel;
> running julia from the terminal, I get this warning in the REPL:
>
>> WARNING: failed to select UTF-8 encoding, using ASCII
As Ricardo mentioned, it comes from the configuration of your locales
[1].
First, plain leads to the warning message.
--8<---------------cut here---------------start------------->8---
$ guix shell -C julia
[env]$ julia
WARNING: failed to select UTF-8 encoding, using ASCII
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.3 (2022-11-14)
_/ |\__'_|_|_|\__'_| |
|__/ |
┌ Warning: Terminal not fully functional
└ @ Base client.jl:410
julia>
--8<---------------cut here---------------end--------------->8---
Second, let add and configure the locale:
--8<---------------cut here---------------start------------->8---
$ guix shell -C julia glibc-locales
[env]$ GUIX_LOCPATH=$GUIX_ENVIRONMENT/lib/locale julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.3 (2022-11-14)
_/ |\__'_|_|_|\__'_| |
|__/ |
┌ Warning: Terminal not fully functional
└ @ Base client.jl:410
julia>
--8<---------------cut here---------------end--------------->8---
No more warning.
The manual explains how to setup globally. Let me know if you need more
details.
Cheers,
simon
1:
https://github.com/JuliaLang/julia/blob/master/src/support/libsupportinit.c#L73
prev parent reply other threads:[~2024-03-05 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 3:35 Guix HPC Julia package encoding issue Mauritz Stenek via Guix-Science
2024-03-04 9:37 ` Pascal Quach
2024-03-04 11:18 ` Ricardo Wurmus
2024-03-05 18:05 ` Mauritz Stenek via Guix-Science
2024-03-05 18:34 ` Simon Tournier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ3okZ0JRRGDoYbN8ez2C0E4zM+MXb3McCLiBJg4rBnZ7PQN9g@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-science@gnu.org \
--cc=mstenek@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).