View Full Version : How to prevent browser from substituting ?

22 Sep 2010, 11:36 PM
I am using Apache HttpClient to fetch some data from my server. This data contains certain seemingly unsupported characters like " , which gets replaced with ? in the response. eg:

some "text" to test


some ?text? to test

How can I prevent it from doing this?

23 Sep 2010, 4:10 AM
Sounds like text encoding issues. Do some read up on iso-8859-1 format and also utf8 encoding. Good be a problem with your request header or possible you will just have to convert the data back to the format you want once you retrieve it.