mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: Re: [ptxdist] ptxdist locale problems
Date: Tue, 2 Feb 2016 20:27:14 +0100	[thread overview]
Message-ID: <20160202192714.GA2820@archie.tuxnet.lan> (raw)
In-Reply-To: <20160202192411.GA2484@archie.tuxnet.lan>

On Tue, Feb 02, 2016 at 08:24:12PM +0100, Clemens Gruber wrote:
> On Mon, Feb 01, 2016 at 04:36:39PM +0100, Michael Olbrich wrote:
> > With a corresponding /etc/locale.conf I see
> > System Locale: LANG=en_US.utf8
> 
> Hm, now localectl does show the following:
> System Locale: LANG=en_US.utf8
> 
> But, the "locale" program still shows:
> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
> 
> > What does "localectl list-locales" tell you?
> 
> It shows: en_US.utf8
> 
> So ptxdist did generate the locale files correctly, but the
> /etc/locale.conf entry does not seem to have any effect on the output of
> "locale". Is this expected and what can I do about it?
> Shouldn't systemd-localed also set the environment variables?
> 
> Michael, does your machine show LANG=en_US.utf8 in the output of the
> "locale" command?
> 
> Thanks for your help.
> Clemens

If I try to connect to the machine with mosh, I get:
"The locale requested by LC_CTYPE=en_US.utf8 isn't available here.
Running `locale-gen en_US.utf8' may be necessary.

mosh-server needs a UTF-8 native locale to run."

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-02-02 19:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 18:03 Clemens Gruber
2016-02-01 15:36 ` Michael Olbrich
2016-02-02 19:24   ` Clemens Gruber
2016-02-02 19:27     ` Clemens Gruber [this message]
2016-02-11  7:52       ` Michael Olbrich

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160202192714.GA2820@archie.tuxnet.lan \
    --to=clemens.gruber@pqgruber.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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