Saturday, May 12, 2012

Re: [android-developers] Re: Menu : Handling click events : DialogBox

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 <svend.walter@gmail.com>

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate