PHP 8.2 Call to deprecated function utf8_decode()

Created on 1 March 2024, 4 months ago

Problem/Motivation

I caught and issue on PHP 8.2

116 Call to deprecated function utf8_decode().
163 Call to deprecated function utf8_decode().

Steps to reproduce

Switch to php 8.2 and check dblog or run phpstan with php8.2 checking

Proposed resolution

I would suggest to create a fix

function_exists('mb_convert_encoding') ?
    mb_convert_encoding($output, 'ISO-8859-1', 'UTF-8') : $output;
πŸ› Bug report
Status

Needs review

Version

3.3

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus Andrei Haurukovich Minsk

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024