public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
From: Bill Sommerfeld <sommerfeld@hamachi.org>
To: developer@lists.illumos.org
Subject: [REVIEW] 16495 ptree -g should be more willing to use UTF-8 box characters
Date: Tue, 23 Apr 2024 09:51:14 -0700	[thread overview]
Message-ID: <39ae5a79-c5b2-43c0-97f7-50eb90846fcc@hamachi.org> (raw)

Issue: https://www.illumos.org/issues/16495
CR: https://code.illumos.org/c/illumos-gate/+/3431
Diff: 
https://code.illumos.org/~diff/cd51c4b197ab0c346023fa7c1b748b9f9f15716d

For historic reasons I use a composite locale, setting some of the
LC_* variables along with LANG to a mix of "C" and "C.UTF-8".

I noticed that "ptree -g" didn't use the UTF-8 box drawing characters
despite the fact that I was using a UTF-8-capable locale, and decided
to fix ptree to use the documented API to retrieve the charset of the
current locale rather than guessing the charset from the locale name.

Thanks in advance for your review.




                 reply	other threads:[~2024-04-23 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=39ae5a79-c5b2-43c0-97f7-50eb90846fcc@hamachi.org \
    --to=sommerfeld@hamachi.org \
    --cc=developer@lists.illumos.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 NNTP newsgroup(s).