A better way is to use a writer: Writer w = new InputStreamWriter(input, "UTF-8"); w.write(string);
Check the string in the debugger first to make sure it wasn't corrupted before this stage. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1d2ecc74-015e-4f79-98ac-37ab1bde5b3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.