[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: Wed, 02 Oct 2024 04:24:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281796

--- Comment #3 from Daniel Tameling <tamelingdaniel@gmail.com> ---
You are correct: There is no bug.

ls wants to align things in the terminal and needs to know how much space
characters take when they appear. This only works when the filename belongs to
the current locale. 

du doesn't have to worry about that and can just print filenames as they are.

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