PHP 5.6.0 BUG: ini_set(): Use of iconv.internal_encoding is deprecated

Notice: This thread is very old.
mcmatak
Member | 504
+
-1
-

iconv.input_encoding string
Warning

This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.

PHP 5.6 and later users should leave this empty and set default_charset instead.

10380:        public function initialize()
10381:        {
10382:            date_default_timezone_set('Europe/Prague');
10383:            $this->getService('events.manager')->createEvent(array('Nette\DI\Container', 'onInitialize'))->dispatch($this);
10384:            ini_set('iconv.internal_encoding', 'UTF-8');
10385:            ini_set('mbstring.internal_encoding', 'UTF-8');
10386:            ini_set('default_charset', 'UTF-8');
10387:            header('X-Frame-Options: SAMEORIGIN');
10388:            header('X-Powered-By: Nette Framework');

line 10384

any chance to change this? fix this bug?

Last edited by mcmatak (2015-05-13 15:15)

mcmatak
Member | 504
+
+1
-

ha sorry it is config.neon settings

	php:
		date.timezone: Europe/Prague
		iconv.internal_encoding: UTF-8
		mbstring.internal_encoding: UTF-8
		default_charset: UTF-8