Click here to Skip to main content
15,891,763 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have existing data in SQL Server 2008 that has Arabic data in varchar column that I need to copy to SQL Server 2014. When I query the data I see text like èíë¢ïëë¢é Is there a solution. Can I do it through C# application.

What I have tried:

I have tried INSERT using Arabic Collation on the source, bcp utility to export using codepage 1256.
Posted
Updated 6-Feb-18 3:46am
Comments
Richard MacCutchan 27-Oct-17 4:35am    
That just means you are displaying it in the wrong format. The actual data is not changed.

Try resolve your issue by following the instruction from: sql server - How to read Arabic characters from varchar datatype? - Stack Overflow[^]
 
Share this answer
 
Alter the datatype of your destination column to nvarchar(size/max) and then try to insert the data.
I hope this should work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900