Re: net: Convert to Unicode. (take 2)

2011-08-03 Thread Francois Gouget
On Wed, 3 Aug 2011, Alexandre Julliard wrote: [...] > We should stick to the API. Sooner or later we'll need to make > WriteConsole behave like Windows. That was my leaning too but it's good to have confirmation. Patches follow. -- Francois Gouget http://fgouget.free.fr/

Re: net: Convert to Unicode. (take 2)

2011-08-03 Thread Alexandre Julliard
Francois Gouget writes: > So the question is: Do we care if these applications don't work right on > Windows if their output is redirected? > > Or from a different point of view: Should these applications take > advantage of this Wine-specific behavior or stick to the letter of the > API? We

Re: net: Convert to Unicode. (take 2)

2011-08-03 Thread Francois Gouget
On Wed, 3 Aug 2011, Francois Gouget wrote: [...] > I sort of modeled this after ipconfig's ipconfig_vprintfW() function. > However that function has a WriteFile() fallback in case WriteConsole() > fails. But I don't see what's the point of this or when using > WriteFile() instead of WriteConsole