Skip to content

Function utf8_decode() is deprecated PHP 8.3  #4564

@Dark-Planet

Description

@Dark-Planet

ee/ExpressionEngine/Service/Formatter/Formats/Text.php, line 59

$decoded = utf8_decode($char);

Environment Details:

  • Version: 7.5.2
  • PHP Version PHP 8.3

Possible Solution
$decoded = mb_convert_encoding($char, 'UTF-8', 'ISO-8859-1');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions