看板FreeBSD
標 題Re: [問題] awstats對於utf8的search string的亂碼問題
發信站小鹿鹿 BBS (Sun Mar 6 06:55:16 2005)
轉信站ptt!ctu-reader!news.nctu!abpe.org
※ 引述《[email protected] (水藍)》之銘言:
> awstats對於utf8的search string的亂碼問題
> 請問有人有比較"確實"的作法嗎?
> google了一下只能在對岸零星找到幾篇文章
> 環境為 FreeBSD 4.11 + perl 5.8.2 + awstats 6.4
自己轉就好了。
# piconv -f big5 -t utf-8 awstats-tw.txt > awstats-tw-utf8.txt
# (把 awstats-tw-utf8.txt 的第一行的 PageCode 改成 utf8)
# (把 awstats.conf 的 Lang="auto" 改成 Lang="tw-utf8")
理論上這樣就做完了。
--
Resistance is futile.
http://gslin.org/ & <
[email protected]>
--
※ Origin: 邪惡小鹿鹿 <Deer.twbbs.org> ◆ From: deer.math.nctu.edu.tw