3

I am developing an android app for Gujarat's farmers. So this app should be in Gujarati also. So is there any way so that i can store my data in Gujarati in SQLite?

Aakash Rayate
  • 934
  • 7
  • 17

1 Answers1

4

SQLite supports both UTF-8 and UTF-16 encodings and the Android SQLite API takes String object which is represented by array of UTF-16 values. So you're good to go.

Dheeraj Vepakomma
  • 26,870
  • 17
  • 81
  • 104
  • Thanx a lot. now if the data is in Gujarati then how to show it on my android page? I mean i have read that android phones doesn't support Gujarati language. – Aakash Rayate Jul 26 '12 at 07:31
  • @AakashRayate You'll have to [embed](http://stackoverflow.com/a/3424559/165674) a [Gujarati font](http://gujaratis.org/html/free-gujarati-fonts.htm) in your app. – Dheeraj Vepakomma Jul 26 '12 at 07:45
  • Hi Dheeraje can you please tell me how to enter punjabi text on sqlite table column? i want to enter some punjabi text manually in database using SQLite browser. –  May 25 '16 at 20:15