Use CharsetEncoder:
http://developer.android.com/reference/java/nio/charset/CharsetEncoder.html
Specify onUnmappableCharacter(REPLACE) and set your own replacement with
replaceWith()
How do I tell Java what to replace a special UTF-8 character with when
converting to US-ASCII?
--
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
2 matches
Mail list logo