Unicode strings: Difference between revisions

Line 646:
<lang Julia>julia>println("\u2708")
✈</lang>
 
 
=={{header|Lasso}}==
All string data in Lasso is processed as double-byte Unicode characters. Any input is assumed to be UTF-8 if not otherwise told. All output is UTF-8 unless specified to a different encoding. You can specify unicode characters by ordinal.
 
Variable names can not contain anything but ASCII.
 
<lang Lasso>local(unicode = '♥♦♣♠')
#unicode -> append('\u9830')
#unicode
'<br />'
#unicode -> get (2)
'<br />'
#unicode -> get (4) -> integer</lang>
Output:
<pre>♥♦♣♠頰
9824</pre>
 
=={{header|Locomotive Basic}}==
Anonymous user