How to make SHOUTcast support Chinese UTF8 or GBK or GB 2312
01月 19th, 2008
How to make SHOUTcast support Chinese UTF8 or GBK or GB 2312
怎样让SHOUTcast支持中文
如果出现乱码,可以用这个 convmv 转换
http://www.j3e.de/linux/convmv/
LANG=”zh_CN.GB2312″
convmv-1.10/convmv -f utf8 -t gbk /home/justin/domains/perak.org/public_html/justin/mp3/chi/ -r –notest –nosmart
或者
LANG=”zh_CN.UTF-8″
convmv-1.10/convmv -f gbk -t utf8 /home/justin/domains/perak.org/public_html/justin/mp3/chi/ -r –notest –nosmart
Find 可以用到了。
find /home/justin/domains/perak.org/public_html/justin/mp3/chi/ -type f -name “*.mp3″ > playlist.lst
启动
LANG=”zh_CN.GB2312″
nohup /home/justin/shoutcast/sc_serv /home/justin/shoutcast/sc_serv.conf > /dev/null &
nohup /home/justin/shoutcast/sc_trans_linux /home/justin/shoutcast/sc_trans.conf > /dev/null &
Leave a Reply