Terminal control/Unicode output: Difference between revisions
m
→{{header|Scala}}: Added the Sidef Language
(→{{header|Julia}}: A new entry for Julia) |
m (→{{header|Scala}}: Added the Sidef Language) |
||
Line 297:
{{libheader|Scala}}<lang Scala>scala> println(s"Unicode is supported on this terminal and U+25B3 is : \u25b3")
Unicode is supported on this terminal and U+25B3 is : △</lang>
=={{header|Sidef}}==
<lang ruby>if (ENV["LC_ALL","LC_CTYPE","LANG"].any{_ ~~ /\bUTF-?8/i}) {
say "△"
} else {
die "Terminal can't handle UTF-8.";
}</lang>
=={{header|Tcl}}==
|