I should clarify that I now don't need to do this:

    String content = new String(bytes, "UTF-8");

This is because java's default is unicode. I get the same result with
or without the second argument to the String constructor.

I now see that my original error resulted because I was converting to
individual chars and appending them one-by-one, instead of dealing
with a mass of bytes, which then could have been properly converted to
unicode.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to