General text file problems in IA 16 - Unicode & ANSI

Got a problem you cannot solve? Try here.
CNC
Posts: 10
Joined: Tue Jul 02, 2013 3:57 am

General text file problems in IA 16 - Unicode & ANSI

Postby CNC » Thu Jul 18, 2013 6:34 am

Hi,

I'm using IA 16.05.
- I found that "Write To Text File" clears the file if it is ANSI. When I try to add text to the start of the file, the rest of the file is gone. Does not happen with unicode.
- Also, an IA written BAT file will generate an invisible erroneous command at the beginning of the file. I bet it is because of BOM (Byte Order Mark). Which in that case is more of a Windows problem.

This is probably related to the Unicode INI-file problems that you can read about here: viewtopic.php?f=2&t=9580

Remember that there are different Unicode encodings out there. Notepad++ is a good tool to reveal them. Also, a HEX-editor will reveal the problematic Byte Order Mark.


p.s.
I have created workarounds to all my text-file problems, so not an issue for me anymore. Just reporting the possible bugs.

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

Re: General text file problems in IA 16 - Unicode & ANSI

Postby FrancescoT » Thu Jul 18, 2013 8:53 am

Many thanks for sharing these informations.

I'll be back as soon I receive any update about the argument.

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 69 guests