title: How install the mbstring extension in Centos?
body: <p>I get the following fatal error:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function mb_convert_encoding() in /var/www/html/dai/components/com_servicemanager/views/i0602/view.html.php on line 67</p>
  </blockquote>
  
  <p>I create a file CSV as :</p>
  
  <pre><code>&lt;?php
  
  $dateTimeNow = ...
  
  $list = $this-&gt;get('DataCSV'); 
  
  $filename = 'CSV_' . $dateTimeNow . '.csv';
  
  foreach ($list as $item)
  { 
      $csv .= join("\t", $item)."\r\n"; 
  }  
  
  $csv = chr(255) .chr(254) . mb_convert_encoding($csv, "UTF-16LE", "UTF-8");
  
  
  header("Content-type: application/x-msdownload");
  header("Content-disposition: csv; filename=$filename; size=" . strlen($csv));
  echo $csv;
  exit;
  </code></pre>
  
  <p>I run on wamp on Window is Ok. But i put on server is Centos, it can't create file csv. Why ? Can you help me? thanks.</p>