![]() |
perl-unicode
|
Re: Unicode on Windows Console2012-01-11 16:55:51Michael Ludwig schrieb am 07.01.2012 um 18:30 (+0100): There's a WinAPI function that sets stdout to Unicode so you can read Cyrillic and Greek characters in the cmd.exe console window: Can I get the same feature in Perl? Yes: https://metacpan.org/module/Win32::Unicode Printing twelve hearts: perl -MWin32::Unicode -lwe "printW qq( \x{2665}) x 12" ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ -- Michael Ludwig
|
|