How to combine Unicode characters?

How to combine unicode characters?

  • Say I have a character "a" which I need to combine with a symbol ( ̌ ) which I have in form of a hex value "030c". What do you think would be the best way to combine them? P.S. Thanks, "a\u030c" does give â in logcat, but on android itself, it just shows a blank square. Is there a way to fix it without having the users to install additional fonts?

  • Answer:

    "a\u030c" or "\u01ce", the latter being the a-caron ǎ.

Roger Travis at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

If you mean string literal, then String str = "a\u030c";

Alexander Pogrebnyak

You should not hard-code your own mapping tables. What you need is this: http://developer.android.com/reference/java/text/Normalizer.html

Mihai Nita

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.