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 21:50:39 +0800

What do you think of the idea of supporting arbitrary encodings using dyadic ⎕UCS? I'd be happy to implement it. Although, perhaps you don't want to add a dependency on iconv?

Regards,
Elias


On 28 April 2014 21:39, Juergen Sauermann <address@hidden> wrote:
Hi,

I have added 18 ⎕CR and 19 ⎕CR to convert from Unicode strings
(like 'Hello ⍴ ∇' in APL) to byte vectors (character vectors with values 0-255) in UTF8 encoding
and back. See SVN 233.

/// Jürgen



On 04/28/2014 06:17 AM, David B. Lamkins 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]