Terminal control/Unicode output: Difference between revisions

Content added Content deleted
(expanded to include checking LC_ALL and LC_CTYPE)
(added FunL)
Line 145: Line 145:
{{out}}
{{out}}
<pre>"Unicode is supported on this terminal and U+25B3 is : △"</pre>
<pre>"Unicode is supported on this terminal and U+25B3 is : △"</pre>

=={{header|FunL}}==
<lang funl>if map( v -> System.getenv(v), ["LC_ALL", "LC_CTYPE", "LANG"]).filter( (!= null) ).exists( ('UTF' in) )
println( '\u25b3' )
else
println( 'Unicode not supported' )</lang>


=={{header|Haskell}}==
=={{header|Haskell}}==