Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2024 16:42:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281796] /bin/ls doesn't print UTF-8 emojis properly in some cases, but /bin/du does
Message-ID:  <bug-281796-227-lgKpq7Wx1c@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281796-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281796-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281796

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #1 from Daniel Tameling <tamelingdaniel@gmail.com> ---
What is your locale? Is it some UTF8 variant?

For filenames, ls tries to convert multibyte characters to wide characters and
if that fails, it prints a '?' and goes to the next byte.

This conversion can only succeed if you are in the right locale.

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

help

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