title: How do I convert arabic letters in htmlentities symbols?
body: <p>I need convert arabic letters in htmlentities symbols. Codepage: ISO-8859-1.</p>
  
  <p>سك - this is arabic symbol for example.</p>
  
  <pre><code>htmlentities("سك")
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>Ø³Ù� 
  </code></pre>
  
  <p>How can I get from this symbol the html-entities <code>&amp;#1587;&amp;#1603;</code>?</p>