bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] What is the correct key code for diamond?


From: Peter Teeson
Subject: Re: [Bug-apl] What is the correct key code for diamond?
Date: Sun, 14 Sep 2014 12:42:40 -0400

Hi Jürgen:
I had made a mistake, not recognizing that Avec was the atomic vector and looking up lozenge in there.
Instead I went to the OS X character viewer and did a find on Diamond. 
It showed me the White Diamond Suit U+2662 UTF-8 E2 99 A2. Of course this won't work.

Everything is fine now that I have corrected my MacAplAlt.keyboard to use U+25CA.

Thanks…

Peter
On 2014-09-14, at 5:11 AM, Juergen Sauermann <address@hidden> wrote:

Hi Peter,

there are some characters that have different unicodes in different APL interpreters.

Normally GNU APL accepts all of them on input (as far as they are known).

Currently U+25CA (the default diamond) but also U+22C4 (a somewhat smaller diamond)
should be accepted. If not (because diamond is handled somewhat special in some cases) then please
let me know with as example.

It could also be that there is another diamond around. If that is the case then please let me know
its unicode and I will add it to the table of alternative characters in Avec::map_alternative_char().

/// Jürgen


On 09/14/2014 04:57 AM, Peter Teeson wrote:
Great thanks that fixed it.
On 2014-09-13, at 6:58 PM, David B. Lamkins <address@hidden> wrote:

U+25CA (from src/Avec.def)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]