You might be right about the font. When you have a String
containing Korean characters, it is not necessarily supported by all font types. If you want to make sure, that those Strings
get displayed properly, use your own font. Here you can find some font types that support Korean.
In another thread on SO, they discussed how to include your own font in Android. Basically there are these steps:
- copy the font in your project's folder (
myProject/assets/fonts
)
- load the font in your project
- set some text to use that font
Example:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Typeface myTypeFace = Typeface.createFromAsset(getAssets(), "fonts/myKoreanFont.ttf"); // that's how you load your font
TextView myTextView = (TextView) findViewById(R.id.myKoreanText);
myTextView.setTypeface(myTypeFace); // that's how you use your font
}
Here is another example tutorial on how to use fonts. But the technique is basically the same.