I am developing an Android application for Gujarat's farmers. So this app should be in Gujarati also.

Is there any way so that I can store my data in Gujarati in SQLite?

  • 2
    Aakash, this question doesn't seems good for this site. And you should explain your efforts. Please read the FAQs to know the details. – Mudassir Jul 26 '12 at 2:51
  • @Mudassir: hi.. I am just a beginner in Android development and i did not find any thing about android app in gujarati. And for this app i am just in analysis phase so i am checking feasibility if this is possible. – Aakash Rayate Jul 26 '12 at 4:23
  • Aakash, This site is not for technical queries specific to a particular platform. For that you should go over to stackoverflow.com. It is meant for techical queries. Ask your question in a more generic fashion; what is applicable to Gujarati is applicable to any other language. – DPD Jul 26 '12 at 5:20
  • 1
    @Mudassir: Akash's question is specific and relevant to anyone who does programming in various foreign-languages. I don't think his question is un-welcome here. – Nav Jul 26 '12 at 8:06
  • 1
    @AakashRayate: The reason you didn't find anything about android app in Gujarati is, that it JustWorks™. The reason Mudassir is saying the question is bad is, that you should first try and only ask if you failed. – Jan Hudec Jul 26 '12 at 9:29

Yes. Just store those strings.

Sqlite always works with unicode strings. Java String is also unicode. So everything should work out of the box. If it does not, than say what that is.

Internally sqlite encodes all strings either in utf-8 or utf-16 (there is a per-database option), but since it always converts them as needed (to one or other for comparison and to/from java.lang.String in the API), you don't even need to care.

  • Thanx a lot for this info. Actually i was unaware of these formats like utf-8 or utf-16. Now I've got the idea. Thanx again. – Aakash Rayate Jul 27 '12 at 3:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.