https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111244
--- Comment #6 from Costas Argyris <costas.argyris at gmail dot com> --- > I can't embed a UTF-8 manifest in my DLL and much less in my .a. As a > library writer (I'm the QtCore maintainer), that's out of my hands - it is > an application decision. At this point I just meant embedding it in your example a.out executable file, just to check if it will work correctly. But FYI, you don't embed the UTF-8 manifest into every static/dynamic library - just to the executable. It is essentially just a new object file that you are linking your executable against, whose purpose is to make the resulting executable use UTF-8 as its active code page. But yes, assuming this even works, embedding the UTF-8 manifest is part of the build process of the application, so it would have to be accounted for in the Makefiles etc.