[android-developers] Accents in strings
I have a text file (ASCII) which I am reading line by line through a
Buffered Reader. There are some european accents in the file like è
and they are not being read properly. I know this is a unicode
problem but going further into my investigation led me to find that it
is difficult to store accents in strings - if you add this to any
project:
Log.v("Test Accent", "è");
You get a very strange result - or at least not what I'd expect to
see!
Has anyone else managed to get accents stored correctly in a String
and subsequently in a TextView?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home