5 lines
123 B
Text
5 lines
123 B
Text
if (/\bUTF-?8/i ~~ [ENV{"LC_ALL","LC_CTYPE","LANG"}]) {
|
|
say "△"
|
|
} else {
|
|
die "Terminal can't handle UTF-8.\n";
|
|
}
|