mardi 3 mars 2015

SQLite getString returning empty string

I have a SQLite table which contains a list of words in Spanish. Column is of VARCHAR(255) type. When I try to retrieve the strings using getString() some words return an empty string(not all). So I tried using:



new String(cursor.getBlob(INDEX_WORD), "UTF-8");


This returned a string but it contained �. Can someone help me?


Aucun commentaire:

Enregistrer un commentaire