hi all,
i want to ask
i store an unicode resource file at /res/raw/text_jp.txt <- text in
japanese
than i want to display it on an View, so i load it like this:
try{
InputStreamReader isr = new InputStreamReader(is,"UTF-8");
BufferedReader br = new BufferedReader(isr);
String text;
int i = 0;
while((text = br.readLine()) != null){
arraytext[i++] = text;
}
is.close();
isr.close();
br.close();
}catch(Exception e){
try{
is.close();
}catch(Exception ex){}
}
where "is" is an input stream
is = getResources().openRawResource(R.raw.text_jp);
but i fail to display my unicode file content (doesn't display properly), is
there another way to display unicode characters?
many thanks,
--
Best Regards,
hakim
--
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
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.