ZF-3096: problem width iconv_set_encoding() --> Zend_Service_Flickr line 65,66,67
Description
In Zend_Service_Flickr is used "iconv_set_encoding()"(lines: 65, 66, 67) , but this feature gives problems with the version 5.2.5 PHP if used in the configuration "php_admin_value" sel Apache server.
Comments
Posted by jimmy collazos (acido69) on 2008-04-10T18:49:26.000+0000
My solution is to replace lines(65-67) it:
ini_set('iconv.output_encoding',"UTF-8"); ini_set('iconv.input_encoding',"UTF-8"); ini_set('iconv.internal_encoding',"UTF-8");
Posted by Wil Sinclair (wil) on 2008-06-09T12:36:29.000+0000
Please evaluate and fix/categorize as necessary.
Posted by Benjamin Eberlei (beberlei) on 2008-11-15T11:41:35.000+0000
Using ini_set for 3 very important variables within Zend_Service_Flickr is highly dangerous behaviour. It should be removed and be replaced with explicit changing when needed.
Additionally iconv_ is not defined on all platforms.
Posted by Wil Sinclair (wil) on 2009-01-21T15:32:34.000+0000
It isn't clear to me why this ini values are set in the first place, since iconv() doesn't seem to be used anywhere in the component. Alex, could you please investigate and close this issue?
Posted by Mickael Perraud (mikaelkael) on 2010-07-16T14:26:03.000+0000
Fixed with r22598 and applied on 1.10 branch with r22599