LPT Templates create files with Strange Characters

Posts   
 
    
ADF1969
User
Posts: 37
Joined: 28-Mar-2006
# Posted on: 30-Apr-2006 04:50:26   

When I create a VB files with my LPT template, it creates a file with the following odd chars Hex: FF FE In the beginning.

Of course, this upsets the compiler, as well as Visual Studio.

Any idea what I need to do to fix this?

I tried setting the Encoding to ASCII but that didn't resolve it. I even set a <parameter> entry and set to ascii in the Task Performer Config file, but still no love.

Thanks.

Andrew.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 30-Apr-2006 09:08:39   

Please check your template if it has these odd characters at the very beginning.

Frans Bouma | Lead developer LLBLGen Pro
JimHugh
User
Posts: 191
Joined: 16-Nov-2005
# Posted on: 30-Apr-2006 15:55:37   

Which editor did you use to create/edit the template?

That signature indicates that the template is using Unicode encoding.

ADF1969
User
Posts: 37
Joined: 28-Mar-2006
# Posted on: 01-May-2006 22:59:37   

I used TemplateStudio to edit the template.

Odd thing is the "extra chars" only occur when I run "single task" to create the output; if I choose "Generate Task" they don't occur.

I also went thru all the templates (as recommended by Frans) and saved them as ASCII to ensure they didn't have any "extra chars" in them either.

Since I have done that, I am not having any issues.

Thanks for the tips, both of you.

Andrew.