https://sourceware.org/bugzilla/show_bug.cgi?id=25713
Clément Chigot <chigot at adacore dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chigot at adacore dot com --- Comment #59 from Clément Chigot <chigot at adacore dot com> --- Created attachment 14140 --> https://sourceware.org/bugzilla/attachment.cgi?id=14140&action=edit 0001-bfd-handle-codepage-when-opening-files-on-MinGW.patch And I'm going to reopening it again. Sorry guys ! The hardcoded CP_UTF8 is triggering problems on our GNAT compiler. If you're not using UTF-8, you might end up generating wrong filenames. Looking a bit around it seems that MinGW is using "___lc_codepage_func" in order to retrieve the current codepage before calling "MultiByteToWideChar". I've tried on my VMs, it's looking fine in most of the case. However, I can't ensure that this is the best solution. -- You are receiving this mail because: You are on the CC list for the bug.