July 11, 2011 Encoding help | ||||
---|---|---|---|---|
| ||||
I have a need to be able to read/write a win32 UNICODE file from a linux machine. I've heard D has some great encoding libraries. I'm struggling to get some simple reads done. How can I read a line from a UTF-16LE file on a linux box in D? I'm running dmd 2.053 -Kai Meyer |
July 11, 2011 Re: Encoding help | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Meyer | On 07/11/2011 10:56 AM, Kai Meyer wrote:
> I have a need to be able to read/write a win32 UNICODE file from a linux
> machine. I've heard D has some great encoding libraries. I'm struggling
> to get some simple reads done. How can I read a line from a UTF-16LE
> file on a linux box in D? I'm running dmd 2.053
>
> -Kai Meyer
Ok, fine. So I can't put readline in a foreach loop. Got it...
-Kai Meyer
|
Copyright © 1999-2021 by the D Language Foundation