Terminal control/Display an extended character: Difference between revisions

→‎{{header|AWK}}: - Hexadecimal gawkisms removed
(→‎{{header|AWK}}: - Hexadecimal gawkisms removed)
Line 24:
 
=={{header|AWK}}==
 
You can print a literal "£".
 
Line 32 ⟶ 33:
{| class="wikitable"
! iso-8859-1
| <tt>"\xa3243"</tt>
|-
! euc-jp
| <tt>"\xa1241\xf2362"</tt>
|-
! utf-8
| <tt>"\xc2302\xa3243"</tt>
|-
! gb18030
| <tt>"\x81201\x3060\x84204\x3565"</tt>
|}
 
<lang awk>BEGIN { print "\xc2302\xa3243" } # if your terminal is utf-8</lang>
 
=={{header|BASIC}}==