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. |
- [Bug-apl] how to read utf-8 file into the APL string Alexey Veretennikov
- Re: [Bug-apl] how to read utf-8 file into the APL... Juergen Sauermann
- Re: [Bug-apl] how to read utf-8 file into the... Alexey Veretennikov