Hi

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. So what role does the encoding argument play? I could
see that you'd need encoding if the data was is some byte-oriented
format like a byte[] or an InputStream.

The only thing I can think of this that it's used to write the data
String to a byte representation in the given encoding before passing
those bytes (and the encoding) to the HTML engine. Is this correct?

Thanks!
Pete
--~--~---------~--~----~------------~-------~--~----~
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]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to