List for cgit developers and users
 help / color / mirror / Atom feed
From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: [PATCH] filter: set environment variable PYTHONIOENCODING to utf-8
Date: Thu, 10 Aug 2017 16:04:52 +0200	[thread overview]
Message-ID: <CAHmME9pD1eCNDRd2KCKqAZC73tXwsyB1J1OpC4p-fkQKgn==PA@mail.gmail.com> (raw)
In-Reply-To: <b1b654bf-a96d-31e4-fef1-95646283023f@marples.name>

For the time being I'm going to NACK the PYTHONIOENCODING patch until
we have a good solution for modifying LANG. I don't think it's proper
to make a laundry list of interpreter-specific variables; it could get
out of control eventually.

What are our options? Wait for C.UTF-8 to be available everywhere?
Parse LANG to determine the actual language, and then remove the end
and add on ".utf-8", as in John's example?

https://github.com/commercialhaskell/stack/commit/478ca7118372fe9a500430cae36924ae64e147c6
This is pretty extensive here, but it's a bit complicated...

Jason


  reply	other threads:[~2017-08-10 14:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 15:48 roy
2017-03-04 12:35 ` john
2017-03-06  9:14   ` roy
2017-03-08 19:01     ` roy
2017-03-09  0:10       ` john
2017-03-12 17:01         ` Jason
2017-03-12 17:51           ` john
2017-03-17 18:07             ` Jason
2017-03-17 20:04               ` john
2017-03-17 20:13                 ` roy
2017-08-10 14:04                   ` Jason [this message]
2017-03-09  0:18 roy
2017-03-10 15:28 ` john

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='CAHmME9pD1eCNDRd2KCKqAZC73tXwsyB1J1OpC4p-fkQKgn==PA@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /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 NNTP newsgroup(s).