would be nice.  I requested the same about a month ago, though that was really 
about special treatment for latin-1 characters.

as you may be aware, utf8 has a variable 1 or 2 character encoding depending on 
the character, and it would be harder to box, but I am sure that even with full 
wchars, the approach of trying to pad with spaces cannot work, especially not 
accross jhs and jqt.

Without resorting to OS calls for textwidth, and drawing on OS 
canvas/pictureboxes, an approach that would be reasonable is converting to html 
table, and then blaming qt, chrome and firefox if it doesn't look right.

this command in jhs looks ok: (using new editable table feature)

jtable 'e2';'n' [ n=: ,: <"1 ] 4 u: 97 98 99 +/ 0 256 512 1024

so it will at least look good this way?

Converting boxed data to an html table fragment seems useful enough to have 
been done before.  Has it? (already jhs util?)




----- Original Message -----
From: Henry Rich <[email protected]>
To: Programming forum <[email protected]>
Cc: 
Sent: Saturday, April 26, 2014 5:02:12 PM
Subject: [Jprogramming] Unicode boxed display

Display of boxes containing non-ASCII characters messes up the alignment 
of the boxes.  Has anyone written a verb to format such boxes so that 
the boxes line up?

Henry Rich
----------------------------------------------------------------------
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