Relative Content

Tag Archive for c#sql-serverssis

C# caused a format change of the German alphabet in SSIS package

In SSIS, i have a “Data Flow”, which contains “OLE DB Source” and Flat File Destination (CSV).
The Original CSV is also UTF-8:

The Flat file is UTF8:

When I Run it, data transfers correctly from SQL server to Excel file.
But there will be 1 empty line as the last line.
I wrote a c# script in “script task editor” , to remove the last empty line.
It also works correct BUT It changes the German alphabet (ä, ö, ü, ß):

Although i wrote in C# about keeping UTF8 format: