There seem to be a problem with the 'Write to Text File' action when it need to write data into unicode files. I've attached my unicode text file named 'unicode.txt' with encoding 'UCS-2 Little Endian' as test subject so you can easily reproduce the problem.
My guess is that the action can only write in ANSI mode and not in unicode, or the action could not determinate the correct encoding format.
This is a limitation of FinalBuilder 6( and earlier versions), it has only limited unicode support(only in some actions where critical). FinalBuilder 7 has full support for Unicode and the “Write to Text File” action allows you to specify the Encoding (UCS-2 Little Endian is the same as UTF16). I was able to use the action to append to your file with no problems.
Thx for the explanation, but i managed to bypass the Write and concatenation actions by using Powershell actions. I have just one little question about using powershell in FB, how can i substitute variables in a string ? In VbScript it was ‘Action.ExpandExpression’ but in PowerShell ?