Problems with quotes is strings...

Put your problem here if it does not fit any of the other categories.

Problems with quotes is strings...

Postby EMAalbers » Thu Sep 08, 2011 4:03 pm

Hello guys,

I'am parsing text form a online html feed into my Java app on Android. I've a made a number of Java programs and Android apps before, but I'am now experiencing a weird problem with stings which I can't resolve.

I'am using a DataInputStream from a BufferedInputStream. With a readLine the program received the text in string with HTML format. But all the quoute characters (' or ") are replaced with queationmarks... So a original text like:

'Why are we all here?'

results in:

?Why are we all here??

Other special chars like ï are received in a HTML charcode like ï

What is going wrong here?

Once Poster
Once Poster
Posts: 1
Joined: Thu Sep 08, 2011 4:00 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 14 guests