UIKit0 / gmlive

Automatically exported from code.google.com/p/gmlive
GNU General Public License v2.0
0 stars 0 forks source link

gmlive中pplive频道转为utf8的问题 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
./src/pplivechannel.cpp:                snprintf(command, 1024, "iconv -f
gbk -t utf8 %s | sed 's/encoding=\"gb2312\"/encoding=\"utf-8\"/' >
/tmp/gmlive.xml.encode", filename);
是否把gbk换为gb18030,然后加上-c参数要好一些
要不然转码如下地址的xml总会失败
http://www.pplive.com/web/xml/newChannel.xml

Original issue reported on code.google.com by seasky...@gmail.com on 30 Aug 2009 at 2:40

GoogleCodeExporter commented 9 years ago
观察一下

Original comment by lero...@gmail.com on 31 Aug 2009 at 7:23