Deprecated function iconv_set_encoding() error

In this tutorial we will show how to fix the iconv_set_encoding() error during Joomla installation in php 5.6 environment.

Sometime you can see this error during Joomla installation  :

How to fix Deprecated function iconv_set_encoding()” error

  1. Open the file  joomla\libraries\joomla\string\string.php  in file editor.
  2. Navigate to lines 24-30
  3. You should see the code:
  4. Replace this code with following:
  5. Save and try to run installation
  6. No more iconv_set_encoding() error

Good Luck,

AS Team.

Leave a Reply

Your email address will not be published.