http://bugs.winehq.org/show_bug.cgi?id=19253
Summary: broken parameterization of error messages using %1 Product: Wine Version: 1.1.25 Platform: All OS/Version: All Status: UNCONFIRMED Severity: trivial Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
LANG=C wine foo.txt wine: could not load L"Z:\...\xyz.zip": Bad EXE format for LANG=de_DE.UTF-8 wine foo.txt wine: could not load L"Z:\...\Makefile.in": Fehlerhaftes EXE-Format f?r
Actually, there are 2 bugs: A) "für(for)" The Umlaut is not printed or converted correctly in the UNIX terminal. Likely a missing ACP/UNIX_CP conversion at some point.
B) The text refers to an argument that is not displayed dlls/kernel32/nls/winerr_*.mc contains MessageId=193 SymbolicName=ERROR_BAD_EXE_FORMAT Language=ENU Bad EXE format for %1 There are some more messages with 1 or even %2 parameters.
How does the function which throws out error messages know that some take an argument (%1) and others don't? Where would it receive those arguments?