1

Displaying japanese instead of chinese in a textview

view story
linux-howto

http://stackoverflow.com – When displaying japanese text in a textview, android defaults to using a chinese font, showing the wrong characters, exemplified here. Setting the locale to japanese works on the emulator, but doesn't work on my galaxy s3, probably because it doesn't support Japanese. There other solution is to set the font programattically from an asset such as: textView.setTypeface(Typeface.createFromAsset(getAssets(), "DroidSansJapanese.ttf")); but that seems like a bit of a kludge. Is there any way to set the font through the xml layout to one that supports japanese? (HowTos)