2021-01-30 08:58 GMT+01:00 "bill lam" <[email protected]>:
> The ü is represented by 2 bytes although  it displays as a single characteron 
> screen.
> ca =: 'Hüte'
> 
> #ca
> 
> 5
> 
> 1 2{ca
> 
> ü
> 
> 
> Alternatively you can convert it to unicode datatype
> 
> 1 { ucp ca
> 
> ü

Hi Bill,

thank you very much. This works as expected. Just one more question out of 
curiosity: Is there any reason not to work with unicode type character arrays 
in J? From a practical point of view it would be the preferred way to work with 
non-English textual data, wouldn't it?

Kind regards,

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

Reply via email to