Skip to content

Deprecation warning since PHP 8.3 mb_convert_encoding() #231

@LWlook

Description

@LWlook

Describe the bug
Since I updated my project to PHP 8.3 I get the following error:
mb_convert_encoding(): Handling HTML entities via mbstring is deprecated;

To Reproduce

  1. Generate a PDF with PHP 8.3
  2. Look at the logs to find the deprecation warning.

Expected behavior
No warnings should be generated.

Additional context
The problem is the function here:

$html = mb_convert_encoding($view, 'HTML-ENTITIES', 'UTF-8');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions