Scripts are generally UTF-8 but can actually be in any common encoding that we 
are able to recognize.

Internally, we treat characters in exactly the same way as integers - we have 
1-, 2- or 4-byte integers depending on the range of the data. So most 
"ordinary" character data will be single-byte. Anything containing APL 
characters (and just about everything else) will use 2 bytes. The user doesn't 
need to think about this except when transferring data in and out of APL, where 
a specific encoding has to be selected depending on the requirements of the 
external system.

Lots more about this at http://www.vector.org.uk/?vol=24&no=1&art=kromberg

-----Original Message-----
From: bill lam [mailto:[email protected]] 
Sent: 26. maj 2009 15:58
To: [email protected]
Subject: Re: [Jchat] No More APL

On Tue, 26 May 2009, Morten Kromberg wrote:
>       'ä'='Säppäla'
> 0 1 0 0 1 0 0

I suppose dyalog converts all utf-8 to ucs-4 when parsing scripts.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩132 孟浩然  早寒江上有懷
    木落雁南渡  北風江上寒  我家襄水曲  遙隔楚雲端
    鄉淚客中盡  孤帆天際看  迷津欲有問  平海夕漫漫
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to