Alex Rivera | Logout

Unicode support for android

Asked 2011-03-14T15:02:19.493
15

I am new in android. I want to know does android support Unicode. If yes, then how can we use it through java code. I have written a program

TextView tv = new TextView(this);
tv.setText("Hello, চন্দন");
setContentView(tv);

The Bengali unicode characters are coming as boxes.

Thanks in advance.

Edit
Report

2 Answers

3

You may be able to work around this with a specialised font, as seen in this SO answer about Tamil on Android.

answered 2012-06-14T12:55:33.933
1

Bengali script needs ligatures like Devanagari, so, it's faint chance that android would render Bengali properly.

answered 2011-07-06T13:50:00.737

Your Answer