Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1214

How can I read a CSV file with UTF-8 code page in SQL bulk insert?

$
0
0

I have a Persian CSV file and I need to read that with SQL bulk into the SQL server:

I wrote this bulk:

BULK INSERT TEMPFROM 'D:\t1.csv'WITH(FIELDTERMINATOR = ',',ROWTERMINATOR = '\n',CODEPAGE = '1256');

but that can not read UTF-8 encoding and read ی character as ? character.

How can I write that?


Viewing all articles
Browse latest Browse all 1214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>