Jump to content

Terminal control/Unicode output: Difference between revisions

no edit summary
(Added Perl example)
No edit summary
Line 302:
<pre>UTF supported △
</pre>
=={{header|M2000 Interpreter}}==
 
M2000 Environment has own console (with graphics support)
<lang M2000 Interpreter>
Module CheckIt {
If IsWine then Font "DejaVu Sans"
Cls
Report format$("\u25B3")
Keyboard 0x25B3, format$("\u25B3")
\\ report use kerning
Report Key$+"T"+Key$
Keyboard 0x25B3, format$("\u25B3")
Print Key$;"T";Key$
}
Checkit
</lang>
=={{header|Mathematica}}==
<lang Mathematica>If[StringMatchQ[$CharacterEncoding, "UTF*"], Print[FromCharacterCode[30000]], Print["UTF-8 capable terminal required"]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.