On 2025-08-13 09:13, Dan Shelton via Cygwin wrote:
mintty in Cygwin 3.6.4 cannot display the Unicode moon character:
my testcase:
bash -c 'm="$(printf "\U0001f313")" ; echo "moon2" >"$m$m$m$m$m$m$m"'
ls -l
That should display a filename with los of Unicode moon characters,
but instead some grey checkerbox is rendered. Windows Explorer shows
this correctly.
Works Just Fine For Me!
$ printf "\U1f313\t\U1f313\t\U1f313\t\U1f313\t\U1f313\n"
🌓 🌓 🌓 🌓 🌓
$ v=`printf "\U1f313\t\U1f313\t\U1f313\t\U1f313\t\U1f313\n"`
$ echo $v
🌓 🌓 🌓 🌓 🌓
For mintty you need suitable fonts installed under MS Windows (or font linking
fallbacks) rather than Cygwin fontconfig:
$ fc-list :charset=0x1f313
gives me a *long* list summarized as DejaVu, any emoji fonts including Segoe UI
Emoji, some symbol fonts including Symbola and Segoe UI Symbol, TeX Church
Slavonic collection, fallbacks including Unifont and Last Resort fonts.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple