On Sat, Sep 14, 2019 at 1:50 AM 'robert therriault' via Programming
<[email protected]> wrote:
> For reversals, the way that I might approach that is to box the utf-16 code 
> units into code points then reverse and unbox. It would involve overhead, but 
> it would allow the first and second parts of the surrogates to stay in the 
> correct relationship.

What I think you are getting at, here, is that unicode consortium
"types" are not atomic types. They are sequence types.

J types are atomic types.

Boxing lets us represent sequences as atoms.

In other words, I somewhat agree with what you are saying, but also
this is an issue that can't be hidden and instead should be
documented.

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to