Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

CSV destination UTF8 encoding

CSV destination UTF8 encoding

CSV destination UTF8 encoding

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!

RE: CSV destination UTF8 encoding

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: How to get the best answers before you ask a question

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close