How to reproduce
cargo run -p uu_echo -- -e '\xf0\x9f\x98\x82'
gives �.
Expected behavior
Under Ubuntu 22.04, with /bin/echo --version:
echo (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Brian Fox and Chet Ramey.
the output is 😂, given command /bin/echo -e '\xf0\x9f\x98\x82'.