Jump to content

Terminal control/Display an extended character: Difference between revisions

no edit summary
No edit summary
Line 348:
Lua requires an extension module for UTF-8 support. However, the '£' symbol specified for this task is part of extended ASCII (codes 128 - 255) which can be accessed in the same way as normal ASCII.
<syntaxhighlight lang="lua">print(string.char(156))</syntaxhighlight>
=={{header|M2000 Interpreter}}==
<syntaxhighlight lang="m2000 interpreter">
Print chrcode$(163), "£", chrcode$(127968), "🏠"
</syntaxhighlight>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.