July 11, 2011
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
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