IA18: Control Characters in first line (Write into file)

Got a problem you cannot solve? Try here.
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

IA18: Control Characters in first line (Write into file)

Postby mikKummerfeld » Tue Dec 17, 2013 2:43 am

Hey guys,

next bug: Always when I write Content into a new file (like a batch-file), the first line Begins with rubbish control characters. Please fix that.

screen105.png
screen105.png (12.01 KiB) Viewed 6167 times


Result in:

screen104.png
WriteToFileCommand
screen104.png (10.28 KiB) Viewed 6167 times
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant

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

Re: IA18: Control Characters in first line (Write into file)

Postby FrancescoT » Tue Dec 17, 2013 4:43 am

Dear Heiko,

IA now uses UTF-8 (w BOM) Unicode encoding with text files, consequently the first three bytes are: 0xEF,0xBB,0xBF (=BOM) ... and not a bug.

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

mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: IA18: Control Characters in first line (Write into file)

Postby mikKummerfeld » Tue Dec 17, 2013 4:51 am

How can I avoid that? Because I am writing Batch files with Content e.g

rename
miabuild
copy
...

and commands with that 0xEF,0xBB,0xBF are not working.

Okay I can write a dummy line at first with cls for example...but this is not the real solution for me
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant

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

Re: IA18: Control Characters in first line (Write into file)

Postby FrancescoT » Tue Dec 17, 2013 5:13 am

Dear Heiko,

...with adding an empty single "dummy" string line at the beginning of your file, it should work.

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

mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: IA18: Control Characters in first line (Write into file)

Postby mikKummerfeld » Tue Dec 17, 2013 5:42 am

Ok thanks Francesco, it works this way...

You can Close that thread as it is not a bug, it's a feature ;)
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant

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

Re: IA18: Control Characters in first line (Write into file)

Postby FrancescoT » Wed Dec 18, 2013 12:13 pm

:D
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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 108 guests