diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 8019f8b25b9..07b827aeea7 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -3318,23 +3318,24 @@ function dol_sort_array(&$array, $index, $order='asc', $natsort, $case_sensitive /** - * \brief Check if a string is in UTF8 - * \param $Str String to check - * \return boolean True if string is UTF8 or ISO compatible with UTF8, False if not (ISO with special char or Binary) + * Check if a string is in UTF8 + * @param $Str String to check + * @return boolean True if string is UTF8 or ISO compatible with UTF8, False if not (ISO with special char or Binary) */ -function utf8_check($Str) +function utf8_check($str) { - for ($i=0; $i