http://bugs.winehq.org/show_bug.cgi?id=19253
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2009-12-15 10:12:01 --- Alexandre's commit a04512275420acd74fe5c0d90035a754d255f2ed in wine-1.1.34 addresses part B): Now %1 is converted. (I don't know how an error with a %2 part would behave.)
Alas, even though there's now explicit code page conversion using CP_ACP, part A) = output of Umlauts to a shell terminal is still incorrect: wine: Fehlerhaftes EXE-Format f<?>r Z:\...\rost.ini The <?> is actually an unusual quotation mark box. When I switch gnome-terminal to ISO-8859-15 encoding (LANG is still set to de_DE.UTF-8) then wine displays the correct "für" instead of f?r.
I don't know how to produce a message involving %1-formatting from the cmd shell. I just noted that wine cmd /c help also displays the strange <?> character in the German help. However, setting gnome-terminal to ISO-8859-15 displays blanks instead of Umlauts here! This behaviour is different from the above.
Invoking them in an Emacs shell buffer reveals what's actually output: 252 for ü in the %1 case (CP1252/ISO Latin), 129 for ü in the cmd help page (DOS CP850).