[Jprogramming] How do I enter a Unicode char in the J session?
Björn Helgason
gosinn at gmail.com
Sun Sep 6 22:39:29 HKT 2009
Even if I have known about Unicode for a long time everything about it
seems to be complicated.
You copy something that in one environment is different but looks the
same over to another an then it is the same.
Autoatic conversions happen sometimes and sometimes not.
It is even worse when you have ASCII that looks the same and is
sometimes codepage numbers sometimes UTF8 and then Unicode.
Sometimes you have BOM in files and sometimes not etc.
2009/9/6 bill lam <bbill.lam at gmail.com>:
> What did you expect to get then?
>
> On Sun, 06 Sep 2009, Björn Helgason wrote:
>> 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 <bbill.lam at gmail.com>:
>> [---=| TOFU protection by t-prot: 32 lines snipped |=---]
>
> --
> 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: gosinn at gmail.com
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 |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=) ♖♘♗♕♔♙
`. )----' (")_(") ☃☠
More information about the Programming
mailing list