It's better if l turn on light. a=:'⚃⚃⚂come ⚄⚅' ]u16=:7&u: a
]u32=:9&u: a Linda Sent from AOL Mobile Mail On Thursday, October 19, 2017 Linda Alvord <[email protected]> wrote: a=:'⚃⚃⚂come ,⚄⚄' ]u16=:7&u: a ]u32= :9&u: a Linda Sent from AOL Mobile Mail On Wednesday, October 18, 2017 bill lam <[email protected]> wrote: For this kind of operation, it should convert to utf16 or utf32 where each atom stands for one unicode codepoint NB. utf8 a=:'鼠牛虎兔龍蛇馬羊猴鸡狗豬' NB. utf16 u16=: 7&u: a NB. utf32 u32=: 9&u: a Both #u16 and #u32 are 12, so that character operations can retain our expected semantic. utf8 is normally what you can copy and paste from web browser, but inside m$ excel or word, they use utf16. Ср, 18 окт 2017, Jimmy Gauvin написал(а): > Lo and behold,conversions work too: > > 1 (3!:4) A > 鼠牛虎兔龍蛇馬羊猴鸡狗豬 > 2 (3!:4) A > 鼠牛虎兔龍蛇馬羊猴鸡狗豬 > 3 (3!:4) A > 鼠牛虎兔龍蛇馬羊猴鸡狗豬 > > > > > >> On Wed, Oct 18, 2017 at 1:46 PM, robert therriault > > >> <[email protected]> wrote: > > >> > > > >> > Hi David, > > >> > > > >> > You can use {&a. to convert the encoded utf-8 into the characters > > >> > > > >> > A=: 16be9 16bbc 16ba0 16be7 16b89 16b9b 16be8 16b99 16b8e > > >> > A=:A,16be5 16b85 16b94 16be9 16bbe 16b8d 16be8 16b9b 16b87 > > >> > A=: 16be9 16bbc 16ba0 16be7 16b89 16b9b 16be8 16b99 16b8e > > >> > A=:A,16be5 16b85 16b94 16be9 16bbe 16b8d 16be8 16b9b 16b87 > > >> > A=:A,16be9 16ba6 16bac 16be7 16bbe 16b8a 16be7 16b8c 16bb4 > > >> > A=:A,16be9 16bb8 16ba1 16be7 16b8b 16b97 16be8 16bb1 16bac > > >> > A > > >> > 233 188 160 231 137 155 232 153 142 229 133 148 233 190 141 232 155 > > 135 > > >> 233 166 172 231 190 138 231 140 180 233 184 161 231 139 151 232 177 172 > > >> > {&a. A > > >> > 鼠牛虎兔龍蛇馬羊猴鸡狗豬 > > >> > > > >> > Cheers, bob > > >> > > > >> >> On Oct 18, 2017, at 10:20 AM, David Lambert <[email protected]> > > >> wrote: > > >> >> > > >> >> How in j to have the characters display correctly? > > >> > > > >> > ------------------------------------------------------------ > > ---------- > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
