b0b wrote:

> For your code to work you need:
>
>     out.write(result.toString("UTF-8));
>

How do you know that the type of 'result' supports such a method? The OP 
did not indicate the type of 'result'.

Surely you are aware that 'String' values in Java are always UTF-16?
<http://docs.oracle.com/javase/7/docs/api/java/lang/String.html>

-- 
Lew


 

-- 
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

Reply via email to