Character codes: Difference between revisions

m
Line 1,600:
 
=={{header|SPL}}==
In SPL all characters are used in UTF-16BE16LE encoding.
<lang spl>
x = #.array("a")
#.output("a -> ",x[1]," ",x[2])
x = [0,98,0]
#.output("0 98 0 -> ",#.str(x))
</lang>
{{out}}
<pre>
a -> 0 97 0
0 98 0 -> b
</pre>
 
Anonymous user