title: Converting to Ascii fails at &
body: <p>We have a java application which sends sms. We have 2 two variable set as below.Then it goes through an encoding process. The problem now it works fine but after the &amp;Time.... the message is not delivered? So what other encoding mechanism should I work on?</p>
  
  <pre><code>String smsMessage = "Asset:TEST1\nSerial ID:Test1\nEvent:Arrive\nDate&amp;Time:2012-04-26 21:06:37\nEvent Location:Location1";
  String fullMessageLink="user=tt1&amp;password=tt11&amp;api_id=2211&amp;to=1234567&amp;text="+smsMessage;
  
  URI uri = new URI(
          "http", 
          "api.clickatell.com", 
          "/http/sendmsg",
          fullMessageLink,
          null);
  
   String request = uri.toASCIIString();
  </code></pre>