mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
PropertyModifierFromLatin1: use iconv
This commit is contained in:
parent
e3e92cdb3a
commit
166b862114
@ -3,7 +3,7 @@
|
||||
namespace Icinga\Module\Director\PropertyModifier;
|
||||
|
||||
use Icinga\Module\Director\Hook\PropertyModifierHook;
|
||||
use Icinga\Module\Director\Web\Form\QuickForm;
|
||||
use function iconv;
|
||||
|
||||
class PropertyModifierFromLatin1 extends PropertyModifierHook
|
||||
{
|
||||
@ -18,6 +18,6 @@ class PropertyModifierFromLatin1 extends PropertyModifierHook
|
||||
return null;
|
||||
}
|
||||
|
||||
return utf8_encode($value);
|
||||
return iconv('ISO-8859-15', 'UTF-8', $value);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user