After installing and configuring Currency Manager frontend site is down with an error "Notice: iconv_strpos(): Detected an illegal character in input string". How to resolve it?

The problem arises because of the lack of the parameter iconv.internal_encoding, which is set in the Zend Framework. In Magento CE version 1.9.1.0 Zend Framework has been updated to version 1.12.3, where one of the functions contains an error. Unfortunately our module can not affect the modules and methods used by Zend Framework.

First solution
In the extension settings set the option [Symbol position] to [Default]. Path to the option: System->Configuration->ET Extensions->Currency Manager->Currency Options->Symbol position.

Second solution
Change the file /lib/Zend/Locale/Format.php row №1290
Insert this text instead of a blank line

 return $oenc;


You should get the function:
 protected static function _getEncoding()
 {
 $oenc = PHP_VERSION_ID < 50600
 ? iconv_get_encoding('internal_encoding')
 : ini_get('default_charset');
 return $oenc;
 }

Important: Do not forget to backup the file before editing.

Last modify date: Friday, October 7, 2016