chiark / gitweb /
util : fallback to plain ASCII drawing if locale is not UTF-8
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Nov 2012 16:35:30 +0000 (17:35 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Nov 2012 16:39:52 +0000 (17:39 +0100)
commitc339d9775d1df19fdbbafc57486f7cd51af6b7fb
treee0689a930c57e861641308340165d9f7431ab24e
parent0901758558506273c0b7553dc3cae587f2b94290
util : fallback to plain ASCII drawing if locale is not UTF-8

When printing cgroup and sysfs hierarchies, avoid using UTF-8 box drawing
characters if the locale is not UTF-8.

https://bugzilla.redhat.com/show_bug.cgi?id=871153
src/login/sysfs-show.c
src/shared/cgroup-show.c
src/shared/util.c
src/shared/util.h