10 u:'♥♦♣♠'
♥♦♣â™
   #10 u:'♥♦♣♠'
12

I can't make heads nor tails of this result.

nuvoc suggests that 10 u: should be used to generate unicode4 (which
probably means that it would use the ucs-4 encoding, containing a
utf-32 representation of the argument characters), but while it's
literally the case that the result is in J's unicode4 format:

   datatype 10 u:'♥♦♣♠'
unicode4

... it does not look like the argument characters were encoded in this format.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to