2016年2月26日 星期五

2/26

安裝XAMPP

修改中文亂碼

httpd.conf內加

# 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


<?php

echo "這不是我的 難道是你的?";

?>


沒有留言:

張貼留言