Reputation:
I want to store and retrieve non english data into sqlite database.I don't know how to store my language in to db.I have read some info in forums they provide information about UTF-8 and UTF-16 ,yet i am not clear in how to stor my data into db . hope someone will help me out here Thanks in advance . any suggestion is acceptable .
Upvotes: 4
Views: 789
Reputation: 180182
SQLite uses UTF-8 internally, and the Android libraries automatically convert between UTF-8 and the encoding used by Java strings.
There is nothing special about non-English data; anything in a Java string will be stored correctly.
Upvotes: 1