Author Topic: roundcubemail ver. 1.3.5 PHP problem charset not supported  (Read 1046 times)

Offline adam2016

  • Newbie
  • *
  • Posts: 2
roundcubemail ver. 1.3.5 PHP problem charset not supported
« on: March 31, 2018, 06:53:36 PM »
error.log

[01-Apr-2018 00:33:16 Europe/Warsaw] PHP Warning:  htmlspecialchars(): charset `iso-8859-2' not supported, assuming utf-8 in /home/www/public_html/program/lib/Roundcube/rcube_washtml.php on line 491

[01-Apr-2018 00:33:16 Europe/Warsaw] PHP Warning:  html_entity_decode(): charset `iso-8859-2' not supported, assuming utf-8 in /home/www/public_html/program/lib/Roundcube/rcube_utils.php on line 501

config.inc.php
$config['default_charset'] = 'UTF-8';

What should I correct ?
« Last Edit: March 31, 2018, 07:02:22 PM by adam2016 »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,091
Re: roundcubemail ver. 1.3.5 PHP problem charset not supported
« Reply #1 on: April 01, 2018, 01:17:14 PM »
What PHP version and OS? I see this for the first time. I guess you can fix this by setting default_charset in php.ini.

Offline adam2016

  • Newbie
  • *
  • Posts: 2
Re: roundcubemail ver. 1.3.5 PHP problem charset not supported
« Reply #2 on: April 02, 2018, 07:33:26 AM »
(PHP 5.6 - CentOS)
php.ini
default_charset = "iso-8859-2"
change to
default_charset = "UTF-8"
and VoilĂ  everything is already ok
thx Alec

BTW - roundcube this is a genius program (nice fast stable)