PHP 8.1 – Wrong Encoding Importing Table from HTML
-
I used to import tables from JSON and HTML files for months with PHP 8.0 and it worked fine. However, when using PHP 8.1, all “foreign” characters in HTML file are replaced with unknown symbols. If I view HTML file via browser, all characters are displayed fine, as always.
I even tried to add
<meta charset="utf-8">
to HTML file; no luck. JSON works fine with both PHP 8.0 and 8.1. Any suggestions?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP 8.1 – Wrong Encoding Importing Table from HTML’ is closed to new replies.