Problems with "Read From Text File"

Got a problem you cannot solve? Try here.
Post Reply
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Problems with "Read From Text File"

Post by alibaba »

Hi,

if I use "Read From Text File" function to read a file I get the error that after reading the first line contains strange symbols. The file to read is ANSI and it starts with following line:

# application startup properties

after writing the line back to file ("Write into Text File") it contains the following:

# application startup properties

Our application has problems reading that file. And I am modifiing the file only in line 4 and 5. What can I do to avoid this bug?

Best regards!
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems with "Read From Text File"

Post by FrancescoT »

Dear Alibaba,

have you tried with adding an empty string at the very beginning of your text file?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Problems with "Read From Text File"

Post by alibaba »

Hi Francesco,

I solved the problem by directly editing the file, without reading and writing it back. But this was always working until IA 16 or 17.
Post Reply