Eric Iverson wrote:
> The J tolower and toupper only work for ASCII and will likely to
> continue to do so as general unicode conversion is complicated.
> 
> Use host services for things like this. For example in Windows:


I agree true tolower/oupper is locale dependent. But I only use tolower/toupper
for Latin alphabets so that I do not need api for case conversion. However
tolower/toupper is used in J standard library and it may cause error in some
cases. eg, in find dialog box if ijs contains text above code point 256 like

ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝ

case-insensitive search for any string such as 'abc' will raise an index error:
tolower

-- 
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to