title: Unable to replace &nbsp; in my android app
body: <p>android version:4.2
  my sample code is:</p>
  
  <pre><code>   try {
     //HttpResponse response = httpClient.execute(httpGet, localContext);
     HttpResponse response = httpClient.execute(httpGet, localContext);
     HttpEntity entity = response.getEntity();
     text = getASCIIContentFromEntity(entity);
  
     text=text.replaceAll("&amp;lt;", "&lt;").replace("&amp;gt;", "&gt;").replace("&amp;nbsp;", " ");
  
     int start=text.indexOf("&lt;message&gt;");
     start=start+9;
     int end=text.indexOf("&lt;/message&gt;");
     text=text.substring(start, end);
  
  
  
     JSONArray ja = new JSONArray(text) ;
         // ITERATE THROUGH AND RETRIEVE CLUB FIELDS
      int n = ja.length();
      for (int i = 0; i &lt; 1; i++) {
          // GET INDIVIDUAL JSON OBJECT FROM JSON ARRAY
       JSONObject jo = ja.getJSONObject(i);
  
       title+= jo.getString("Title")+",";
       url= jo.getString("URL");
       desc= jo.getString("Description");                             
      }
   } catch (Exception e) {
           return e.getLocalizedMessage();
  }
  </code></pre>
  
  <p>issue: Varible desc(i.e., description in my json)contains <code>**&amp;nbsp;**</code> in its contents.I have converted HTML into string in android using following code:</p>
  
  <pre><code>Spanned marked_up = Html.fromHtml(results);
  tv2.setText(marked_up.toString(),BufferType.SPANNABLE);
  </code></pre>
  
  <p>Still it is not replacing <code>**&amp;nbsp;**</code>.
  Help me anyone plz.
  ThankYou in advance.</p>