简体   繁体   中英

How to store Bangla font in SQLite database in Android

In which way i can store bangla language in SQLite database in Android. Please help me.

Please try something like this

public boolean insert() {
  SQLiteDatabase db = this.getWritableDatabase();
  ContentValues contentValues = new ContentValues();
  contentValues.put("question", "তুমি কেমন আছ?");

  db.insert("questions", null, contentValues);
  return true;
}

I am just trying to mention that we can put whatever we want to store inside quotation marks and it will store it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM