Jump to content

Terminal control/Unicode output: Difference between revisions

m (→‎{{header|Sidef}}: modified the code to work with the latest version of Sidef)
Line 328:
(prinl (char (hex "25b3")))
(quit "UTF-8 capable terminal required") )</lang>
 
=={{header|Python}}==
<lang Python>import sys
 
if "UTF-8" in sys.stdout.encoding:
print("△")
else:
raise Exception("Terminal can't handle UTF-8")</lang>
 
=={{header|Racket}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.