pcockerell wrote: > I'm confused about the encoding parameter of loadData(). Since the > data argument is a Java String, by definition it's in UCS-2 > representation.
I can tell you that the one loadData() sample in ApiDemos in the SDK uses "utf-8" for the encoding parameter, and in some code I've written, I've used "UTF-8" for the encoding parameter. This does not mean UCS-2 is necessarily invalid, or why the sample uses UTF-8. My string-encoding fu is weak, so I'm just following the sample's lead (capitalizing it only because I thought that was the official way to name the encoding). Sorry if this doesn't help you much... -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ -- Available Now! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---