Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2018 17:07:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230068] ps: processes with non-ASCII characters are hidden from list in "ps auxww"
Message-ID:  <bug-230068-227-vaB8EDZSUg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230068-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230068-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230068

--- Comment #3 from Conrad Meyer <cem@freebsd.org> ---
Hi Robert,

I don't think it's actually fixed in CURRENT.  I just happen to be using UT=
F-8,
so my on-disk names are UTF-8 as well.

I think the problem is something like this:

1. ps(1) now uses libxo for formatting its output.

2. libxo is pretty dumb and seems to expect all input in UTF-8.  (It can ma=
ybe
format non-UTF8 output if LANG/LC_FOO is set, but still expects programs to
give it UTF8 input, if I'm skimming it correctly.)

3. ps(1) is also fairly encoding-naive and just passes through the bytes it
gets from disk to libxo.

In my case, that works because the on-disk bytes are UTF-8.

I can reproduce the same issue you describe when the file is named
"B=C3=B6serProzess" in ISO8859-15 (with appropriate LANG set), rather than =
in UTF-8.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230068-227-vaB8EDZSUg>