Re: Bug: mingw32-make can'r process unicode filenames

Eli Zaretskii <eliz-mXXj517/[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
> Date: Sat, 28 Sep 2019 22:13:04 +0200
> From: Петар Каприш <[email protected]>
> 
> The Makefile was encoded in UTF-8

Then what you saw was expected: mingw32-make is a Windows console
program that uses MSVCRT as its C runtime library, and such programs
cannot do anything useful with UTF-8, because Windows (still) doesn't
fully support UTF-8 as a legitimate codeset.

> and the "bug" seemed to behave the same
> whether the system codepage was 1252 or 1251, and whether the terminal
> codepage was 855 or 437 (except the terminal codepage changed the
> mojibake that got printed instead of the filename of, course, but make
> itself behaved the same).
> However it seems that the problem goes away after iconv-ing the makefile
> into CP1252, so I guess I'll have that be my fix, I apologize for any
> problems I've caused with my shotty bug-report.

Encoding the Makefile in your system's codepage is indeed the way to
go.  If it works for you, then everything is OK, and there's no bug.

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.