Eric Pouech eric.pouech@orange.fr writes:
Le 18/04/2022 à 12:11, Alexandre Julliard a écrit :
Eric Pouech eric.pouech@gmail.com writes:
Signed-off-by: Eric Pouech eric.pouech@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
Maybe Windows doesn't use GetConsoleCP(), but at least here it's definitely using OEM codepage.