cbeust/jcommander — Issue #86: Encoding issue when displaying usage() on Windows cmd.exe
Author: henryju
Created: 2011-11-08 09:44:16+00:00
State: open

Hi,

The Windows console is broken as you may know with non ascii char. I don't know what version of Java you are targeting but in case you allow java 6 stuff I suggest to replace use of System.out by System.console() that allow to display correctly non ascii char (at least french char like à é è, ...).
If System.console() is not supported or null, then you could revert to System.out...

Regards,

Julien