[Bug 281796] /bin/ls doesn't print UTF-8 emojis properly in some cases, but /bin/du does

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Oct 2024 16:42:26 UTC
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.