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
A+