Character codes: Difference between revisions

Line 809:
=={{header|Julia}}==
Julia character constants (of type <code>Char</code>) are treated as an integer type representing the Unicode codepoint of the character, and can easily be converted to and from other integer types.
 
<lang julia>println(int('a'))
<lang julia>println(charInt(97'a'))</lang>
println(Char(97))</lang>
 
{{out}}<pre>97
a</pre>
Anonymous user