# About copy with outputencoding

**URL:** https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981
**Category:** Discussion
**Created:** [May 3, 2012, 6:59am UTC](https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981 "2012-05-03T06:59:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 3, 2012, 6:59am UTC](https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981/1 "2012-05-03T06:59:43Z")

</div>

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]  
&nbsp; &nbsp; &nbsp;   
&nbsp; &nbsp; &nbsp; &nbsp;   
&nbsp; &nbsp; &nbsp;   
&nbsp; &nbsp; [/code]

In finalbuilder, i have 4 options to copy:&nbsp;

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 ?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [May 4, 2012, 3:03am UTC](https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981/2 "2012-05-04T03:03:08Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 4, 2012, 2:06am UTC](https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981/3 "2012-05-04T02:06:40Z")

</div>

> 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...

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 25, 2012, 7:38am UTC](https://www.finalbuilder.com/forums/t/about-copy-with-outputencoding/1981/4 "2012-05-25T07:38:13Z")

</div>

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