help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gmake UTF-8 Support?


From: Eli Zaretskii
Subject: Re: Gmake UTF-8 Support?
Date: Wed, 29 Sep 2021 20:48:00 +0300

> Date: Wed, 29 Sep 2021 10:06:22 -0700
> From: "Kaz Kylheku (gmake)" <729-670-0061@kylheku.com>
> Cc: nobozo@gmail.com, help-make@gnu.org
> 
> > I think the underlying OS also must support UTF-8 encoded file names
> > (or be agnostic to file-name encodings).  So, for example, on
> > MS-Windows using UTF-8 in Makefiles will not work if it is used for
> > file names.
> 
> Test using Cygwin:

Cygwin is not MS-Windows, it provides a rich layer of Posix
functionality, including UTF-8 support, above Windows.  Try the native
Windows build of GNU Make instead.

> When I open the dire^H^H^H^Hfolder in Windows Explorer,
> the 対象 name correctly appears, too. Thus, native Windows understands
> the name properly.

Because Cygwin converts UTF-8 into UTF-18, the so-called "Unicode
encoding" that is native to MS-Windows.  It's an illusion.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]