You need to look at the data that you are getting from the server, and know
what encoding it is in.  Java is UTF-16, so when you build a String from the
data from the server you need to tell it what encoding the original text is
in.

On Tue, Sep 22, 2009 at 4:45 AM, Wouter <wouterg...@gmail.com> wrote:

>
> How can i check the text encoding?
>
> On 21 sep, 21:25, Marco Nelissen <marc...@android.com> wrote:
> > On Mon, Sep 21, 2009 at 10:36 AM, Wouter <wouterg...@gmail.com> wrote:
> >
> > > Ok I had to place android:singleLine="true" (http://code.google.com/p/
> > > android/issues/detail?id=882)
> >
> > > and now it is working :)
> >
> > > Other question:
> >
> > > when you look at this picture:http://snapplr.com/stxgyou can see
> > > that there are weird symbols in my text. The text is in dutch but if
> > > there are symbols used like é or à ... android places a symbol with a
> > > "?"
> > > I am consuming a web service (xml rpc) and in this response the text
> > > is good!
> >
> > > How can i fix this?
> >
> > Make sure you're using the right text encoding, and convert if needed.
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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