Hi Alexey,

you can probably use 18⎕CR and 19 ⎕CR to convert beween the bytes read
from an UTF8 encoded file and the characters being encoded (and back).

See section 3.3 Dyadic ⎕CR in info apl.

/// Jürgen


On 12/20/2016 01:39 PM, Alexey Veretennikov wrote:
Hi,

I'm trying to read the file in UTF8 to the APL string.
Using the following:

      )HOST 'cat' '/tmp/f.apl'
∇R←f x
R←x+1

0
      fun ← FIO∆read_file '/tmp/f.apl'
      fun
∇R←f x
R←x+1

Which is apparently broken.


Reply via email to