RosettaCodeData/Task/Terminal-control-Unicode-output/Clojure/terminal-control-unicode-output.clj
2023-07-01 13:44:08 -04:00

4 lines
256 B
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 not supported on this terminal.")