Terminal control/Unicode output: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Perl}}: Fix comment: Perl 6 --> Raku)
Line 398: Line 398:


=={{header|Perl}}==
=={{header|Perl}}==
Much like Perl 6...
Much like Raku...
<lang perl>die "Terminal can't handle UTF-8"
<lang perl>die "Terminal can't handle UTF-8"
unless $ENV{LC_ALL} =~ /utf-8/i or $ENV{LC_CTYPE} =~ /utf-8/i or $ENV{LANG} =~ /utf-8/i;
unless $ENV{LC_ALL} =~ /utf-8/i or $ENV{LC_CTYPE} =~ /utf-8/i or $ENV{LANG} =~ /utf-8/i;