Home > Article > Backend Development > Solution to garbled php page
Solution to garbled php page: 1. Set the text encoding displayed on the page through "header("Content-Type:text/html;charset=utf-8");"; 2. Through "mysqli_set_charset" Set the default client character set.
Recommended: "PHP Video Tutorial"
php: Solution to garbled pages
in
The above is the detailed content of Solution to garbled php page. For more information, please follow other related articles on the PHP Chinese website!