Character codes: Difference between revisions

m
Line 1,169:
97 98 99 9786</syntaxhighlight>
 
<code>7 u:</code> converts fromto utf-16 (<code>8 u:</code> would convert to utf-168, and (<code>9 u:</code> would instead have convertedconvert to utf-32), and <code>3 u:</code> converts what the uncode consortium calls "code points" to numeric form. Since J character literals are utf-8 (primarily because that's how OS interfacesn work), by itself <code>3 u:</code> would give us:
 
<syntaxhighlight lang="j"> 3 u: 'abc☺'
6,951

edits