- or download this
use utf8::all; # Comment out for Windows
use Unicode::Collate;
...
my @entries = $collator->sort(@list);
print "$_\n" for (@entries);
print "\tEnd sorted\n\n";
- or download this
[...]
use Config;
use utf8::all if $Config{osname} eq 'Linux'; # perl adamantly ignores
+the condition
[...]
- or download this
use if $^O ne 'MSWin32', 'utf8::all';
system('chcp 1252') if $^O eq 'MSWin32';