Tiebob

網頁呈現出來的,全是utf8編碼,即使網頁設定

Jan 6th, 2015
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. // 2. 網頁呈現出來的,全是utf8編碼,即使網頁設定
  2. <meta http-equiv="Content-Type" content="text/html; charset=big5">
  3. // 依然以utf8編碼呈現:
  4. // ⓪ 解決法:
  5. <?php header("Content-Type:text/html; charset=big5"); ?>
Advertisement
Add Comment
Please, Sign In to add comment