www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Encoding help

reply Kai Meyer <kai unixlords.com> writes:
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
Jul 11 2011
parent Kai Meyer <kai unixlords.com> writes:
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
Jul 11 2011