Unicode strings: Difference between revisions

m
→‎{{header|ALGOL 68}}: add chinese forty two: 四十二, length string = +3
m (→‎{{header|ALGOL 68}}: add chinese forty two: 四十二, length string = +3)
Line 326:
test:(
 
UNICHAR aircraft := UU16r 16r27082708;
printf(($"aircraft: "$, $"16r"16r4d16rdddd$, UNICODE(aircraft), $g$, " => ", REPR UNICODE(aircraft), $l$));
 
UNICODE chinese forty two = U16r 56db + U16r 5341 + U16r 4e8c;
printf(($"chinese forty two: "$, $g$, REPR chinese forty two, ", length string = ", UPB chinese forty two, $l$));
 
UNICODE poker = U "A123456789♥♦♣♠JQK";
Line 349 ⟶ 352:
<pre>
aircraft: 16r2708 => ✈
chinese forty two: 四十二, length string = +3
poker: A123456789♥♦♣♠JQK, length string = +17
selectric: ×÷≤≥≠¬∨∧⏨→↓↑□⌊⌈⎩⎧○⊥¢