I imagine this has been discussed before, if so please feel free to point
me to relevant link.

Suppose I have a unicode string - I can enter it directly at the terminal -
and I want to box it.  E.g.


   ;/ 7&u: 'κυάμων-απέχεσθαι'

+--+--+--+--+--+--+-+--+--+--+--+--+--+--+--+--+

|κ|υ|ά|μ|ω|ν|-|α|π|έ|χ|ε|σ|θ|α|ι|

+--+--+--+--+--+--+-+--+--+--+--+--+--+--+--+--+


The J system recognizes the UTF coding, so the relevant space is is
reserved for each character - for instance you can see that the dash takes
only one space, whereas the Greek characters take two.  However, the
display is clever enough to render the characters correctly, resulting in
the mismatch of the box offsets.


Is there a way around this?  No huge deal if there isn't.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to