vendredi 1 avril 2016

sqlite not saving french accents like à as $agrave

When i will save into my database "C'est tout à fait juste.", sqlite will remove the $ from $agrave, becouse it can't maybe handle utf-8.

var sql += "INSERT INTO Test(TestId,Text) Values(1, "C'est tout à fait juste.");

I tried for every insert to replace the $agrave with à, but I think there will be a better solution.

Is there a better way to solve this?

Thanks for any help...

Aucun commentaire:

Enregistrer un commentaire