And what code page have you set up for the windows dos? I found CHCP 1252 works best for me, before I thought I had to live with code page 850 or 437, but fortunately it is not true.
I have not tried how well the code page chcp 65001 (UTF-8) works yet though.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
Eclipse has the fonts installed to print the encoding. The command line obviously does not. You can try to change the default font but that is dependent on which distro you are using as well as which terminal program (xterm is -fa font-name).
woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
I think encoding of your program to match what CHCP says in command line is enough. Code page 1252 makes scandinavian letter work from command line arguments and show correct in file name for DIR command. However, if I use GNU ls command in windows, those letters are missing. I hope that setting the code page in AUTOEXEC.BAT is enough, but I am not sure. I have only set it by hand and prove now to put there to see if the code page becomes default. If not, must see some windows settings and environment variables.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852