Question : Exporting from SQL Server 2005 Table to Flat file with UTF-8 Problem.

Hello Everyone,

I am trying to export data from sql server 2005 to a text file (Flate File) using SSIS. The package runs successfully, however it doesn't convert the flate file to UTF-8 rather it saves as ANSI.
I have used Derived Column as well as Conversion Task to change from ansi 1252 to 65001 page for [dt_str] data type. I have also configured flat file connection to UTF-8 65001 page but still the exported text file comes in ANSI format not UTF-8. In sql server table i have varchar data type, i tried to change them to nvarchar and than on conversion task [unicode dt_wstr] but still no change. Your Help is hugely appreciated.

Answer : Exporting from SQL Server 2005 Table to Flat file with UTF-8 Problem.

Hello,

None of the above solutions helped. i had to write a script that open the exported ANSI files and then write it back in utf-8 format.
Random Solutions  
 
programming4us programming4us