史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   硬體疑難使用問題討論區 (http://forum.slime.com.tw/f12.html)
-   -   Apache架站怎麼改預設編碼為BIG5 (http://forum.slime.com.tw/thread97155.html)

chris6491 2004-02-27 05:44 PM

Apache架站怎麼改預設編碼為BIG5
 
在httpd.conf內已改為Big5

# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
AddDefaultCharset Big5


但進去是亂碼要改big5才能顯示成中文
版本2.0.48

Omar Lin 2004-02-27 06:03 PM

你的系統是?
如果是Windows的話,要去打開php.ini檔,裡面有段;default_charset = "iso-8859-1"
這個要改成BIG5
前面的;也要拿掉才有作用!

然後記得Apache要重心啟動!!

chris6491 2004-02-27 08:33 PM

3Q~大大教導
我的是win


所有時間均為台北時間。現在的時間是 08:19 PM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1