Unicode strings: Difference between revisions

Content added Content deleted
(add PowerShell)
imported>Arakov
Line 620: Line 620:
ELENA supports both UTF8 and UTF16 strings, Unicode identifiers are also supported:
ELENA supports both UTF8 and UTF16 strings, Unicode identifiers are also supported:


ELENA 4.x:
ELENA 6.x:
<syntaxhighlight lang="elena">public program()
<syntaxhighlight lang="elena">public program()
{
{
Line 626: Line 626:
var строка := "Привет"w; // UTF16 string
var строка := "Привет"w; // UTF16 string
console.writeLine:строка;
console.writeLine(строка);
console.writeLine:四十二;
console.writeLine(四十二);
}</syntaxhighlight>
}</syntaxhighlight>
{{out}}
{{out}}