Unicode strings: Difference between revisions

m
Line 595:
ELENA supports both UTF8 and UTF16 strings, Unicode identifiers are also supported:
 
ELENA 3.4.x:
<lang elena>public program()
{
[
var 四十二 := "♥♦♣♠".; // UTF8 string
var строка := "Привет"w.; // UTF16 string
console .writeLine:строка.;
console .writeLine:四十二.;
]}</lang>
{{out}}
<pre>
Anonymous user