UTF-8 Encoding Lost?
Posted: Sun 22 Jan 2012 18:01
Curious situation here. I'm taking a UTF-8 string in my C# program (received from a 3rd party) and inserting it using a Devart.Data connection to an SQLite database. Oddly, the encoding seems to be lost at that point and when I pull the string back out it is mangled.
I verified the database encoding of the file by connecting and issuing a "PRAGMA encoding;" query - it returned "UTF-8".
Is there anything I should be doing with the connection string? The only encoding mention I see in the documentation is for UTF-16.
I verified the database encoding of the file by connecting and issuing a "PRAGMA encoding;" query - it returned "UTF-8".
Is there anything I should be doing with the connection string? The only encoding mention I see in the documentation is for UTF-16.