I have an EditText to get description and want to set max length 145 chars. I have set maxlength 145 in XML. This works correctly for English. But for languages other than English, being specific, Marathi, Hindi etc it doesn't work properly. I counts each symbol as separate character.
For example: "व्ही"
this is considered as one character in Hindi, and it's length should be 1, but it returns me length 2.
I have seen the solution in this link
But it doesn't work for Hindi/Marathi language because it cannot detect connected characters. How to detect connected characters?
Thanks in advance :)