I want to make an android app which use malayalam language(an Indian language). I found many code with typeface changed. When I tried to copy that code, eclipse is showing question marks instead of malayalam text.I can't copy any malayalam text in eclipse. Please help me. Thanks in advance
Asked
Active
Viewed 628 times
3 Answers
0
You doesn't mention the error in your code, I assume that the problem with encoding. In this case you can change the text encoding to UTF-8
by the following step.
In Eclipse go to Window -> Preferences, select General -> Workspace. From the Text file encoding dropdown, select UTF-8.

Remees M Syde
- 2,564
- 1
- 19
- 42
-
When I type anything in malayalam in the eclipse IDE, it is getting replaced by question marks. tv.setText("?????"); actually Iam trying to copy a malayalam text in setText method. But it is not showing. Please help me bro.. – Achu Jan 16 '15 at 16:16
-
I changed the encoding to utf-8 and added malayalam font in the assets. But still it is not working :( – Achu Jan 16 '15 at 16:22
-
Plz try this solution bro, i dont know thins one is work for you just try . In my case it showing malayalam default. http://stackoverflow.com/questions/4522337/unicode-characters-not-displayed-in-textview-settext – Remees M Syde Jan 18 '15 at 18:40
0
you have to change you eclipse encoding to utf-8 under the preference section, also very importantly you have to add that malay font in the assets folder of your app. here's a link to get the font http://malayalam.indiatyping.com/index.php/download-malayalam-font

Aniruddha K.M
- 7,361
- 3
- 43
- 52