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

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

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

Post by mikKummerfeld »

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 6575 times
Result in:
WriteToFileCommand
WriteToFileCommand
screen104.png (10.28 KiB) Viewed 6575 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)

Post by FrancescoT »

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)

Post by mikKummerfeld »

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)

Post by FrancescoT »

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)

Post by mikKummerfeld »

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)

Post by FrancescoT »

: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
Post Reply