Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if device supports Unicode?

I am trying to add localization in my android app. The device which doesn't support Unicode shows boxes only. Is there any way to check whether the device supports Unicode or not?
Any help is appreciated.
Thanks.

EDIT

I am localizing my app to support Nepali language as well. If I run this on device with 4.4.2 it shows all the characters but when i run this on 2.3 it shows boxes.

Some of unicode characters are ० १ २ ३ ४ ५ ६ ७ ८ ९ क ख etc.

Note: these are Devanagari script, used for Hindi and other related languages.

like image 563
Michael Shrestha Avatar asked Dec 04 '25 02:12

Michael Shrestha


1 Answers

These characters appear to be in Devanagari script. For example

'क' is Unicode Character 'DEVANAGARI LETTER KA' (U+0915)

Older versions of Android have limited support for this script, but it is built in which means you should simply be able to check the version of Android to find out whether they are supported.

See How to get Hindi fonts in Android..?
https://www.facebook.com/DevanagariAndroid
http://www.androidos.in/2010/12/android-2-3-brings-more-languages-support-incl-hindi/

like image 170
david.pfx Avatar answered Dec 06 '25 16:12

david.pfx



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!