Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSV destination UTF8 encoding

Status
Not open for further replies.

mossbs

Programmer
Aug 19, 2008
102
GB
Hi guys - having massive issue trying to get SSIS package to export data to a csv file with UTF8 encoding.

I've tried a number of things... and lateset package consists of the following..

- File system task
- this has a source of a csv template (in UTF8) and a destination created from an expression to append the date to the end of the file

- Data Flow Task
- This has DB source, data conversion task and flat file destination.
- in the data conversion I convert all columns to UTF8

But when I run it - and then open it the file is saved with ANSI encoding.

Any ideas where I am going wrong?

Cheers guys!


 
The Flat File Connection Manager has a code page setting - this will need to be set to 65001 (UTF-8)

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top