Php + wml computer browser displays all garbled characters & lt ;? Php & nbsp; custom file & nbsp; require (& quot; commonIncconn. inc. php & quot;); conndb (); $ root & quot; D: wwwhtdocs & quot; require (& quot; function. php & quot;); php + wml computer browser displays all garbled characters
// Custom file
Require ("common/Inc/conn. inc. php ");
Conndb ();
$ Root = "D:/www/htdocs /";
Require ("function. php ");
$ Title = "mobile edition of Northeast Normal University employment alliance ";
// Output the wml header file
// Header ("Content-type: text/vnd. wap. wml ");
// Header ("Cache-Control: no-cache, must-revalidate ");
// Header ("Pragma: no-cache ");
Echo (" ");
Echo ("");
Echo (" ");
?>
Website in wap.dsjy20.net
For help !! How can it be garbled on a computer browser?
------ Solution --------------------
Check if webpage code is UTF-8
------ Solution --------------------
After checking, it is the cause of file encoding. after being opened with editplus, it can be saved as UTF-8 format.
------ Solution --------------------
Something is missing,
Save all files used as UTF-8