- Issue created by @Andrei Haurukovich
- Merge request !39Fix php8.2 issue related to deprecation of utf8_decode → (Open) created by Andrei Haurukovich
- Status changed to Needs review
11 months ago 10:52am 29 February 2024
On PHP8.2 I caught a warning
Deprecated function: Function utf8_decode() is deprecated in field_encrypt_decrypt()
Switch to PHP8.2, go to any page containng filed encryption, check dblog
I would suggest to make
function_exists('mb_convert_encoding') ? mb_convert_encoding($string, 'ISO-8859-1', 'UTF-8') : $string;
Needs review
1.0
Code
The issue particularly affects sites running on PHP version 8.2.0 or later.