All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burton, Ross" <ross.burton@intel.com>
To: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: python3: use LC_CTYPE, not LC_ALL to set utf-8
Date: Mon, 8 Aug 2016 21:30:45 +0100	[thread overview]
Message-ID: <CAJTo0LbAe5Rj1rE901=d-N45bygePnvvm50JVCJjHCWffU9gCg@mail.gmail.com> (raw)
In-Reply-To: <lyzion6tuh.fsf@ensc-virt.intern.sigma-chemnitz.de>

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

On 8 August 2016 at 18:41, Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
wrote:

> due to python3's misdesigned string handling, recent bitbake/OE enforces
> 'LC_ALL=en_US.utf-8'.  This causes a lot of problems:
>

I can confirm that this combination solves the file encoding problem:

$ export LANG=C
$ python3 -c 'import sys; print(sys.getfilesystemencoding())'
ascii
$ export LC_CTYPE=en_US.UTF-8
$ python3 -c 'import sys; print(sys.getfilesystemencoding())'
utf-8

Ross

[-- Attachment #2: Type: text/html, Size: 1248 bytes --]

      reply	other threads:[~2016-08-08 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 17:41 python3: use LC_CTYPE, not LC_ALL to set utf-8 Enrico Scholz
2016-08-08 20:30 ` Burton, Ross [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

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

  git send-email \
    --in-reply-to='CAJTo0LbAe5Rj1rE901=d-N45bygePnvvm50JVCJjHCWffU9gCg@mail.gmail.com' \
    --to=ross.burton@intel.com \
    --cc=enrico.scholz@sigma-chemnitz.de \
    --cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.