u: 9827 9830 9829 9824
♣♦♥♠
   8 u: u: 9827 9830 9829 9824
♣♦♥♠
    a. i. u: 9827 9830 9829 9824
256 256 256 256
   a. i. 8 u: u: 9827 9830 9829 9824
226 153 163 226 153 166 226 153 165 226 153 160

   uni1 =. u: 9827 9830 9829 9824
   uni2 =. 8 u: u: 9827 9830 9829 9824
   uni1
♣♦♥♠
   uni2
♣♦♥♠
   a. i. uni1
256 256 256 256
   a. i. uni2
226 153 163 226 153 166 226 153 165 226 153 160

Then I copy uni1 and uni2 respectively over to m$ word and I get:

♣♦♥♠

2663 2666 2665 2660

♣♦♥♠

2663 2666 2665 2660



2009/9/6 bill lam <[email protected]>:
> On Sun, 06 Sep 2009, Ian Clark wrote:
>> (a) succintly in the present example, eg to assign (suits=:...) using
>> only ascii,
>> (b) in general.
>
> A possible way is to use unicode code point, eg,
>   suits=:  7&u: '♣♦♥♠'
>   suits
> ♣♦♥♠
>
> first find the codepoint using 3&u or from the website that you mentioned:
>
>   3 u: suits
> 9827 9830 9829 9824
>
> for wide character unicode
>
>   u: 9827 9830 9829 9824
> ♣♦♥♠
>
> for utf8 unicode
>
>   8 u: u: 9827 9830 9829 9824
> ♣♦♥♠
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Þerneyjarsundi 23, Hraunborgum
Po Box 127,801 Selfoss ,
t-póst: [email protected]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to