June Kim wrote:
> a=: 0 : 0 
> 漢字 한글 
> ) 
> When there is any multi-byte character in the script, Format 
> Script(Ctrl-L) on windows XP sp2 results in an error as following: 
> wdhandler 
> error in: jijs_lctrl_fkey 
> domain error: masknouns 
 > tok=.    ;:@(#~notqc)each y 
> Maybe it's due to the limitation of Words(;:) treating multi-byte characters. 
 
More specifically, I think it's because the question of "in the general
case, what should the proper behavior be here" is unanswered.
 
;: could be made to work (as a trivial example: using 8&u:) but is
that useful?
 
In the long run, ;: should probably be made to do something useful
for multi-byte characters.  But for that to work, someone has to
define the underlying state machine.  And, for that to be worthwhile,
that definition should be something people can live with, indefinitely.
 
Seen http://www.unicode.org/reports/tr31/  for an overview of what
the unicode people seem to expect here (apparently, everything in
the yellow and gray boxes for Figure 1 should give a domain error
for ;: -- which, basically, is what currently happens).
 
That said, perhaps Control-L could be made to work if the first line
of masknouns were something like
tok=. ;: :: < @ (#~ notqc)  each y
 
-- 
Raul
 
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to