From owner-freebsd-bugs@freebsd.org Fri Jul 27 17:07:19 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D153A1050ECB for ; Fri, 27 Jul 2018 17:07:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6EE567DD52 for ; Fri, 27 Jul 2018 17:07:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 33FEB1050EC7; Fri, 27 Jul 2018 17:07:19 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22B6B1050EC6 for ; Fri, 27 Jul 2018 17:07:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B64647DD4F for ; Fri, 27 Jul 2018 17:07:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1AA9F1E88A for ; Fri, 27 Jul 2018 17:07:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RH7HvH085119 for ; Fri, 27 Jul 2018 17:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6RH7HfT085118 for bugs@FreeBSD.org; Fri, 27 Jul 2018 17:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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" Date: Fri, 27 Jul 2018 17:07:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 17:07:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230068 --- Comment #3 from Conrad Meyer --- 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.=