[PATCH 4/4] programs/attrib: write redirected output in UTF8

Eric Pouech eric.pouech at orange.fr
Mon Apr 18 08:07:00 CDT 2022


Le 18/04/2022 à 12:11, Alexandre Julliard a écrit :
> Eric Pouech<eric.pouech at gmail.com>  writes:
>
>> Signed-off-by: Eric Pouech<eric.pouech at gmail.com>
>>
>> ---
>>   programs/attrib/attrib.c |    9 +++++----
>>   1 file changed, 5 insertions(+), 4 deletions(-)
> That doesn't seem to match the Windows behavior.
>
well, the idea was to have a nicer integration when redirected to 
streams expressed from unix command line

if you really want to stick to pure windows behavior in all cases, 
GetConsoleCP() is wrong anyway...  we need to use CP_ACP unconditionnaly 
AFAICS

A+


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220418/a3dea54e/attachment.htm>


More information about the wine-devel mailing list