Generally, text should be stored in a string.xml file. Put the Japanese version in the values-ja directory. Make sure you save it as UTF-8 (*always* use UTF-8).
Then textView.setText(R.strings.my_string) will get the Japanese text if the user is configured to use Japanese. It's also possible to put Japanese text directly into strings in the source, if you set up your your source files as Unicode. But I recommend always externalizing anything you intend the user to see. I believe that what Zsolt is suggesting is to use the backslash syntax for entering unicode character codes. I do not recommend doing this; it makes the code very hard to use and understand. It made sense when the ability to display Japanese and other language text was still relatively rare outside Japan or the country in question, but that is no longer the case for most languages. On Jan 5, 4:47 am, Zsolt Vasvari <[email protected]> wrote: > Use its Unicode code. > > On Jan 5, 6:10 pm, "Kevin R. Octavian" <[email protected]> > wrote: > > > > > > > > > do you know,how to display Japanes character on TextView > > please help me... > > -- > > Mobile Developer > > (Android,iphone,Blackberry,J2ME,brew,symbian) > > mobile : > > 085722945257 > > email : > > [email protected] > > [email protected] > > blog : > > kevinroctavian.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

