Anonymous user
Terminal control/Unicode output: Difference between revisions
expanded to include checking LC_ALL and LC_CTYPE
(Adds Clojure solution) |
(expanded to include checking LC_ALL and LC_CTYPE) |
||
Line 137:
=={{header|Clojure}}==
<lang clojure>
(if-not (empty? (filter #(and (not (nil? %)) (.contains (.toUpperCase %) "UTF"))
(map #(System/getenv %) ["LANG" "LC_ALL" "LC_CTYPE"])))
"Unicode is supported on this terminal and U+25B3 is : \u25b3"▼
"Unicode is
</lang>
{{out}}
|