Re: [Bug-apl] hexcodes to unicode points

2016-10-28 Thread Jay Foad
The rows of 13 4 ⍴ idx show the individual bytes of the UTF-8 encoding of some characters. Convert to text with e.g.: 19 ⎕CR ⎕UCS 226 141 186 226 141 181 ⍺⍵ To convert the other way: ⎕UCS 18 ⎕CR cards 240 159 130 168 240 159 130 166 ... Jay. On 28 October 2016 at 06:10, wrote: >

[Bug-apl] hexcodes to unicode points

2016-10-27 Thread alexweiner
hi bugapl,I'm getting a bit confused, and would appreciate help.I'm trying to pass cards to a webserver, but GET and POST percent-encode values.I have this code that converts the text-hex to decimal values.cards←'🂨🂦🂻🂷🂴🂲🃝🃘🃒🃋🃊🃆🃄'  hexcodes←,¨,(16 1 ⍴'0123456789ABCDEF')∘., (⍪¨'0123456789ABCDEF')