Check the encoding of text in SQlite

Posted by JJG on Stack Overflow See other posts from Stack Overflow or by JJG
Published on 2010-12-26T02:38:14Z Indexed on 2010/12/26 2:54 UTC
Read the original article Hit count: 228

Filed under:
|
|

I'm having a nightmare dealing with non Eurpean texts in SQlite. I think the problem is that SQlite isn't encoding the text in UTF8. So I want to check what the encoding is, and hopefully change it to utf8. I encoded a CSV in UTF8 and simply imported it to SQlite but the non-roman text is garbled.

I would like to know: 1)how to check the encoding. 2)How to change the encoding if it is not utf8. I've been reading about Pragma encoding, but I'm not sure how to use this.

© Stack Overflow or respective owner

Related posts about sqlite

Related posts about csv