French characters to html entities
<p>I am passing some French characters in an ajax call to our database. They are expecting É to be passed as <code>%26Eacute%3B</code>, é to be passed as <code>%26eacute%3B</code>, etc. How can I do this in javascript?</p>

<p>Thanks.</p>
