That is in fact how I did boxed UTF-8 - conversion up, then back down.
Handling CJK characters, with their varying widths, was a different problem.
Henry rich
On 10/25/2016 12:23 PM, Xiao-Yong Jin wrote:
On Oct 25, 2016, at 11:05 AM, Don Guinn <[email protected]> wrote:
Look how hard it was to display boxed UTF-8 properly. Yet the old code
would have probably worked by simply adding a convert to wide, build the
boxed display, then back to UTF-8.
It's difficult because different character class has different widths,
along with combining marks and right-to-left ordering. It's not an issue
of encoding.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm