[prev in list] [next in list] [prev in thread] [next in thread] 

List:       illumos-developer
Subject:    [developer] [REVIEW] 16495 ptree -g should be more willing to use UTF-8 box characters
From:       "Bill Sommerfeld via illumos-developer" <developer () lists ! illumos ! org>
Date:       2024-04-23 16:51:14
Message-ID: 39ae5a79-c5b2-43c0-97f7-50eb90846fcc () hamachi ! org
[Download RAW message or body]

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.




------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/Tb5def3be1ec6e1e8-M242d2a5f15afeafa20ccdc66
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic