Terminal control/Display an extended character: Difference between revisions

Content added Content deleted
(Added Lua version)
m (correction)
Line 228: Line 228:


=={{header|Lua}}==
=={{header|Lua}}==
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 is can be used in the same way as normal ASCII.
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.
<lang Lua>print(string.char(156))</lang>
<lang Lua>print(string.char(156))</lang>