Re: [請益] charset 打架

看板Web_Design作者 (小惡魔)時間17年前 (2008/09/23 22:21), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《PHP5 (Powered by Zend Engine2)》之銘言: : header: : Content-Type: text/html; charset=UTF-8 : <head> : <meta http-equiv="Content-Type" content="text/html; charset=big5"> : ... : </head> : IE, fireefox 都會選 UTF-8 : meta 那一行有設等於沒設 : http://www.w3.org/International/O-charset 有提到 : server settings override in-document declarations. : 在沒辦法掌控 server settings 的情況下,有什麼辦法 讓 <meta override header: 1. 檢查 php.ini 裡面設定 ;default_charset = "iso-8859-1" 2. apache httpd.conf 3. 在 php 程式裡面輸出: ini_set('default_charset', 'utf-8'); -- Appleboy Blog: http://blog.Wu-Boy.com Appleboy Life: http://life.wu-boy.com 迷你寫真部落格:http://mini101.twgg.org -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.29.208.22
文章代碼(AID): #18sFjyT2 (Web_Design)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #18sFjyT2 (Web_Design)