samedi 31 janvier 2015

android sqlite doesn' support arabic

I have a sqlite database on my android app and it works fine, but when I try to insert arabic language it shows squares shape like this [] [] [] [] [] I inserted the data on database using a txt file in the assets folder like this:



INSERT INTO user_table (id, name) VALUES (1,'احمد');


I tried saving the txt file in utf8 coding but the app crashes.


Aucun commentaire:

Enregistrer un commentaire