Character codes: Difference between revisions

Content added Content deleted
(→‎{{header|Modula-2}}: Added MiniScript)
imported>Arakov
Line 948: Line 948:
Limitations: There is no "put_character_32" feature for standard io (FILE class), so there appears to be no way to print Unicode characters.
Limitations: There is no "put_character_32" feature for standard io (FILE class), so there appears to be no way to print Unicode characters.
=={{header|Elena}}==
=={{header|Elena}}==
ELENA 4.x :
ELENA 6.x :
<syntaxhighlight lang="elena">import extensions;
<syntaxhighlight lang="elena">import extensions;


Line 955: Line 955:
var ch := $97;
var ch := $97;


console.printLine:ch;
console.printLine(ch);
console.printLine(ch.toInt())
console.printLine(ch.toInt())
}</syntaxhighlight>
}</syntaxhighlight>
Line 963: Line 963:
97
97
</pre>
</pre>

=={{header|Elixir}}==
=={{header|Elixir}}==
A String in Elixir is a UTF-8 encoded binary.
A String in Elixir is a UTF-8 encoded binary.