First, some clarifications. Locale has nothing to do with character
encoding. Java stores all character data internally as 16-bit Unicode,
regardless of locale.
I suspect that myString.getBytes("iso-8859-1") is erroneous. I'm assuming
that myString is of type java.lang.String. What are you doing with the
result and why do you want to encode a sequence of Unicode characters back
to ISO-8859-1 (Latin1)?
--
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