title: Any online tool to apply escape characters to a given string for ant script
body: <p>Hi i want to replace a token value in ant script with following string</p>
  
  <pre><code>&lt;TagType Name="some name" param1="prefix=%s" param2="_default" /&gt;
  </code></pre>
  
  <p>since we cannot give directly <code>'&lt;','"','%'</code> into an ant script, we need to use escape sequences like <code>'&amp;lt;','&amp;quot;'..</code></p>
  
  <p>Is there any online tool which can apply escape characters for a given string?
  I hope already there are tools for this :)</p>
  
  <hr>
  
  <p>For a given string like this</p>
  
  <pre><code>&lt;TagType Name="some name" param1="prefix=%s" param2="_default" /&gt;
  </code></pre>
  
  <p>I need escaped string like this</p>
  
  <pre><code>&amp;lt;TagType Name=&amp;quot;some name&amp;quot; param1=&amp;quot;prefix=%s&amp;quot; param2=&amp;quot;_default&amp;quot; /&amp;gt;
  </code></pre>