Click here to Skip to main content
15,898,938 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello,
In our SQL Server 2008 database in extended property collation is set as SQL_Latin1_General_CP1_CI_AS'.
I have a table, which contains string ported from text file having ASCII, UTF-8 formatted strings. Our requirement is that, we need to read value as Unicode from this table and then process that and fill other tables. We are not sure whether data present in ASCII, UNICODE or UTF-8/16.

That' why we are looking for a procedure which can convert string to Unicode irrespective of encoding scheme.

Suppose in a table i have data is utf-8 format for e.g.

Carrer de Béjar

Calle de Antonio Machado

Calle del Canónigo Domenech

Carrer de Pau Arpí i Galí

Calle del Abad Oliba

I want them to read in Unicode format, I have tried using Collate but could not succeed.
Please share your solution.
Regards,
Sachin
Posted

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