Regarding the umlauts:
1) Replace this:
// Convert the buffer into a string.
String text = new String(buffer);
with this:
// Convert the buffer into a string.
String text = new String(buffer, "UTF-8");
... you will now need to catch UnsupportedEncodingException, as a formality.
2) Check the encoding of your asset text file in Eclipse: right click,
properties, see bottom of the right pane.
-- K
2012/5/13 huberte <[email protected]>
>
> but é à é caracters are faulty (?)
>
>
>
--
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