mintty in Cygwin 3.6.4 cannot display the moon
Thomas Wolff
towo@towo.net
Wed Aug 13 21:23:18 GMT 2025
Am 13.08.2025 um 21:20 schrieb Dan Shelton via Cygwin:
> On Wed, 13 Aug 2025 at 21:06, Kevin Schnitzius via Cygwin
> <cygwin@cygwin.com> wrote:
>> On Wed, Aug 13, 2025 at 11:15 AM Dan Shelton via Cygwin
>> <cygwin@cygwin.com> wrote:
>>> Hello!
>>>
>>> mintty in Cygwin 3.6.4 cannot display the Unicode moon character:
It's a problem in cygwin 3.6.4 but mintty 3.7.9, released a few days
ago, has a workaround for it, as long as you're running a UTF-8 locale.
Thomas
>>> 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.
>> eos:~/cygtest >ls
>> eos:~/cygtest >m="$(printf "\U0001f313")"
>> eos:~/cygtest >echo $m
>> \U0001F313
>> eos:~/cygtest >echo asdf > $m.txt
>> bash: \U0001F313.txt: Permission denied
>> eos:~/cygtest >echo asdf > $m$m
>> bash: \U0001F313\U0001F313: No such file or directory
>> eos:~/cygtest >echo asdf > "$m$m"
>> bash: \U0001F313\U0001F313: No such file or directory
>>
>> What are your locale and language environment set to? (LC_CTYPE, LC_ALL, LANG)
> Windows 10 with UTF-8 locale
>
> Dan
More information about the Cygwin
mailing list