https://bugs.winehq.org/show_bug.cgi?id=52805
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #3 from Eric Pouech eric.pouech@orange.fr --- the printing goes wrong without tee as the chosen characters are not part of the windows code page for the console...
using tee force writing directly to file without going through the windows console, hence the difference
fixing it might not be easy as we need to choose between: - do we use the window console's semantic - do we use the unix console's semantic (here you might want unix, but that's not always the case) It's possible to tweak winepath to do what's expected, but I'm still quite unhappy with the patch... need to think more about it
Anyway, I'm a bit surprised by results in Comment #2 - would it possible that you have some shell alias for echo being 'echo -e', or xpg_echo in bash turned on? - anyway using echo -E $foo should do what you want