public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* [REVIEW] 16495 ptree -g should be more willing to use UTF-8 box characters
@ 2024-04-23 16:51 Bill Sommerfeld
  0 siblings, 0 replies; only message in thread
From: Bill Sommerfeld @ 2024-04-23 16:51 UTC (permalink / raw)
  To: developer

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23 16:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 16:51 [REVIEW] 16495 ptree -g should be more willing to use UTF-8 box characters Bill Sommerfeld

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).