Update functions.lib.php

This commit is contained in:
Frédéric FRANCE
2023-02-22 18:21:58 +01:00
committed by GitHub
parent ed046e16d2
commit ee95ac237c

View File

@@ -8890,7 +8890,7 @@ function dol_osencode($str)
}
if ($tmp == 'iso-8859-1') {
return mb_convert_encoding($str, 'UTF-8', 'ISO-8859-1');
return mb_convert_encoding($str, 'ISO-8859-1', 'UTF-8');
}
return $str;
}