title: Fatal error: Call to undefined function mb_convert_encoding() in /home/abcdef/public_html/folder_name/lib/Pelago/Emogrifier.php on line 556
body: <blockquote>
    <p>Fatal error: Call to undefined function mb_convert_encoding() in
    /home/abcdef/public_html/folder_name/lib/Pelago/Emogrifier.php on line
    556</p>
  </blockquote>
  
  <p>solve this error in magento code.</p>
  
  <p>this is the code , at return line its showing error. </p>
  
  <pre><code>    private function getUnifiedHtml() { 
      if (!empty($this-&gt;unprocessableHtmlTags)) { $unprocessableHtmlTags = implode('|', $this-&gt;unprocessableHtmlTags); $bodyWithoutUnprocessableTags = preg_replace('/&lt;\\/?(' . $unprocessableHtmlTags . ')[^&gt;]*&gt;/i', '', $this-&gt;html); } else { $bodyWithoutUnprocessableTags = $this-&gt;html; } 
  
      return mb_convert_encoding($bodyWithoutUnprocessableTags, 'HTML-ENTITIES', self::ENCODING);
  
   } 
  </code></pre>