Gert Driesen wrote:

Eric,

Currently, <filterchain> will, by default, use UTF-8 encoding for both the input as the output.

We might consider changes the default encoding to the system's current ANSI code page.

That would also match the behavior of Ant.

Ian, Roger: what do you think ?

sounds reasonable. And you can always override using the encoding attribute on filterchain.

Ian

Gert

----- Original Message ----- From: "Eric Fetzer" <[EMAIL PROTECTED]>
To: "NAnt Developers" <[EMAIL PROTECTED]>
Sent: Friday, October 01, 2004 12:36 AM
Subject: [nant-dev] <filterchain> copy issue


I'm using <filterchain> to copy and replace a string
in a NSIS install script.  The problem is that
<filterchain> seems to be putting special characters
into the resultant file causing the resultant file to
not be compilable.  The error that the NSIS compiler
gives with the resultant file (the "copy from" file
compiles fine) is:
<---------snip------------->
Processing script file: "D:\Build\InstallVersion2.nsi"
Invalid command: BGGradient
Error in script "D:\Build\Version2.nsi" on line 1 --
aborting creation process
<---------end snip--------->

The line it is choking on is just:

;BGGradient

The ";" is the comment symbol.  I've tried removing
all of the comments, but that doesn't help anything.
It finds a problem with every single line in the
script.  Any help?

Thanks,
Eric






_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers






-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to