• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Unicode for Asian languages

Naina

Lurker
Hi,

I have written an dictionary application for android. I want to translate from english to japanese. I am able to display the european languages. But I am not able to display the japanese characters on the emulator. Could anybody please let me know what to be done to display japanese characters on the emulator? I have used the unicode UTF-8 in my code.

Thanks in advance,

naina
 
no idea on your problem, but if you expect to have more japanese than ascii characters, you're better off using utf-16 (assuming android supports it - ?)
wikipedia said:
Characters U+0800 through U+FFFF use three bytes in UTF-8, but only two in UTF-16. As a result, text in (for example) Chinese, Japanese or Hindi could take more space in UTF-8 if there are more of these characters than there are ASCII characters. Since ASCII includes spaces, numbers, newlines, some punctuation, and most characters used in programming and markup languages, this rarely happens. For example both the Japanese and the Korean UTF-8 article on Wikipedia take more space if saved as UTF-16 than the original UTF-8 version
 
Back
Top Bottom