centreon / centreon-clapi

Centreon CLAPI Module
14 stars 14 forks source link

[2.8.11] Latin characters issue at params value #363

Closed kozfelipe closed 6 years ago

kozfelipe commented 7 years ago

Recently I had issues with CLAPI to recognize/update values with special (not ilegal) characters. So I had to apply this workaround at setparam function (centreonService.class.php) in order to supply my needs.

foreach($params as $key => $param) {
         $params[$key] = iconv("UTF-8", "ISO-8859-1", $param);
}

May we get a fix for that?

Dacchi commented 7 years ago

Hello,

This may be related to this fix in Centreon => https://github.com/centreon/centreon/pull/5479 Clapi is part of Centreon for now, so any fix or issue might be done on Centreon repo here => https://github.com/centreon/centreon/pull/5479