Deprecated iconv_set_encoding in PHP 5.6
Closed this issue · 2 comments
robocon commented
In this morning I tried to run on PHP 5.6 and got this error
Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /var/www/micromvc/Bootstrap.php
xeoncross commented
I'll look into this. I don't see any depreciated notices on the doc page.
temp3r commented
I had this error too: I changed to the following in bootstrap.php
(~line 85)
// iconv encoding
//iconv_set_encoding("internal_encoding", "UTF-8"); //if php 5.5 or earlier
ini_set('default_charset', 'UTF-8'); // if php 5.6 or newer
On 10/21/2014 06:42 AM, David Pennington wrote:
I'll look into this. I don't see any depreciated notices on the doc
page http://php.net/manual/en/function.iconv-set-encoding.php.—
Reply to this email directly or view it on GitHub
#65 (comment).