About copy with outputencoding

Hello,


I'm a customer of the FinalBuilder 6. Currently i'm migrating one java project from Ant to use the FinalBuilder solution.

I'm almost finished the process of generate a version of our product. The thing is: we have a UTF-8 version and a ISO-8859-1 version of our product.

In ant, we use, for example:

[code]
     
       
     
    [/code]


In finalbuilder, i have 4 options to copy: 

Using "Copy" or "XCopy" or "Robocopy" or "FileSet Copy" (defining a Fileset previously).

The thing is: in neither options, i have options to specify the outputencoding as ant does.

Anyone have a solution for me ?

None of the file copying code in FinalBuilder actually opens the file and re-encodes it. Since changing the encoding on an xml file is not as simple as loading and saving you would need to create a custom action to do this.

Posted By Vincent Parrett on 03 May 2012 08:03 PM
None of the file copying code in FinalBuilder actually opens the file and re-encodes it. Since changing the encoding on an xml file is not as simple as loading and saving you would need to create a custom action to do this.

Hello Vincent,


Yes, i know what you mean... Do you know any tool that can do that for me? That way i can make my custom action...

Solution: I used the software “iconv”.
http://gnuwin32.sourceforge.net/packages/libiconv.htm