如圖畫面,預設會亂碼,但在XAMPP(win)沒碰到
![](https://blog.cwlove.idv.tw/wp-content/uploads/2019/01/image-24.png)
修改/Applications/XAMPP/xamppfiles/etc/httpd.conf,在網頁目錄下加入
IndexOptions Charset=UTF-8
存檔後
restart Apache Web Server即可
![](https://blog.cwlove.idv.tw/wp-content/uploads/2019/01/image-25.png)
如圖畫面,預設會亂碼,但在XAMPP(win)沒碰到
修改/Applications/XAMPP/xamppfiles/etc/httpd.conf,在網頁目錄下加入
IndexOptions Charset=UTF-8
存檔後
restart Apache Web Server即可