bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] How do I convert a byte sequence to Unicode?


From: Elias Mårtenson
Subject: Re: [Bug-apl] How do I convert a byte sequence to Unicode?
Date: Mon, 28 Apr 2014 12:19:59 +0800

Use the quad function ⎕UCS:

      ⎕UCS 'foo⍉bar'
102 111 111 9033 98 97 114
      ⎕UCS 102 111 111 9033 98 97 114
foo⍉bar

Regards,
Elias


On 28 April 2014 12:17, David B. Lamkins <address@hidden> wrote:
I can use lib_file_io to read a sequence of byte values from a file
containing Unicode text.

How do I convert that sequence back to a Unicode string in GNU APL?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]