in reply to print in CMD window

> It incorrectly displalys a greek sigma.

not for me on Win10, it's an "õ"

and this dependends on the codepage and font configured for the CMD.

my properties tell me that I have CP 850 (OEM Multiligual Latin 1) preset, and if I change font to raster font (or whatever the English translation is) I see a capital sigma.

> It now displays the correct character

which is???

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^2: print in CMD window
by syphilis (Archbishop) on Sep 15, 2021 at 00:19 UTC
    not for me on Win10, it's an "õ"

    Same for me on my Windows 7 machine - cp850 for the cmd.exe console; cp1252 for text files.
    I still have an old Text::Iconv script (that I hadn't used for years) that converts between the 2.

    Cheers,
    Rob