PDA

View Full Version : Problem reading text file



NewsArchive
06-28-2012, 12:34 AM
Hi Friedrich,

please have a look at the attached small demo project. Why doesn't it
show line for line the contents of the included logfie.txt?

Thanks for your answer.

Markus

NewsArchive
06-28-2012, 12:35 AM
Markus,

> please have a look at the attached small demo project. Why doesn't it
> show line for line the contents of the included logfie.txt?

Because this is an Unicode text document (see attached screenshot), not an
ASCII text file.

Friedrich

NewsArchive
06-28-2012, 12:35 AM
BTW, a function to convert a file from Unicode to ANSI is already on the
drawing board.

Friedrich

NewsArchive
06-28-2012, 01:23 AM
OK, I'm now using this tool to solve my problem:

http://www.gbordier.com/gbtools/stringconverter.htm

Thanks.

Markus