Jump to content

Terminal control/Display an extended character: Difference between revisions

→‎Tcl: Added implementation
(→‎Tcl: Added implementation)
Line 49:
<lang PureBasic>Print(Chr(163))</lang>
<pre>£</pre>
 
=={{header|Tcl}}==
Provided the system encoding has a “£” symbol in it, this works:
<lang tcl>puts \u00a3</lang>
Tcl can output all unicode characters in the BMP, but only if the consumer of the output (terminal, etc.) is able to understand those characters in its current encoding will the output actually make sense. Strictly, this is not a limitation of Tcl but of the environment in which it is placed.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.