问题
How to insert Unicode symbols to edit text?
In iOS we can do it by just by specifying the code i.e \U0001F68A .What about android ?
回答1:
editText.setText("\u00A9 2013 by John Smith");
will put the copyright symbol followed by " 2013 by John Smith" into the the EditText editText.
回答2:
editText.getText().append("\uD83D\uDE0A");
来源:https://stackoverflow.com/questions/10497322/insert-unicode-symbols-to-edittext