in reply to Re^2: convert encoding
in thread convert encoding

This specific problem can be addressed by
binmode STDOUT, ':encoding(cp437)';
(The number is referring to the code page, and has to be adjusted according to your configuration. The DOS command chcp can tell you which code page is in use in your CLI)