June Kim wrote: > There were a few postings on box drawing with non-ascii characters, > especially those whose font width shown on the screen is different > from its utf-8 encoded character's byte length. (for example, Hangul > is shown as two-ascii-character wide and its utf-8 encoded byte length > is 3, so the boxing is broken) > > It looks like solving this problem wouldn't happen quickly. Hence, I'd > like to have a pure J boxdraw verb and modify it as to handle those > special cases(when the character is Korean, treat it like length 2 > character, and etc). Do you have a pure J boxdraw verb? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > >
I guess it would be a rather difficult problem if you have text of korean mixed with numerals/latin alphabets whose width is 1 so that alignment problem is still there for both ascii or unicode drawing box. -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
