u: 30101 疕 datatype u: 30101 unicode $ u: 30101 #$ u: 30101 0 NB. unicode (literal2) atom as expected
4 u: 30101 疕 datatype 4 u: 30101 unicode $ 4 u: 30101 #$ 4 u: 30101 0 NB. unicode (literal2) atom as expected 7 u: 30101 疕 datatype 7 u: 30101 unicode $ 7 u: 30101 1 NB. unicode (literal2) list of length 1 is unexpected #$ 7 u: 30101 1 NB. rank 1 is unexpected The dictionary suggests that with a right argument of literal2, then if all values <128, convert to ASCII, otherwise as is. [0] I believe that since the argument is > 128 the 'as is' case would apply and that no change in shape should occur, but Unicode is a tricky beast and I welcome enlightenment. Cheers, bob [0] http://www.jsoftware.com/help/dictionary/duco.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
