Reading unicode chars..
    seany via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Sep  2 11:29:50 PDT 2014
    
    
  
On Tuesday, 2 September 2014 at 18:22:54 UTC, Ali Çehreli wrote:
> That would happen when you you treat the chars on the input and 
> individual dchars.
That is precisely where the problem is.
If you use the character in a file, and then open it as a stream, 
then use
File.getc()
or file.getcw()
until EOF is reached, then you get this prblem.
I want to read the file char by char,
and problem is i dont know where this char will appear, meaning I 
dont know where i have to treat multiple dchars, read by getc() 
or getcw() as a single char.
    
    
More information about the Digitalmars-d-learn
mailing list