杨庆荣的博客

工作之余接单:公司产品展示网站建设、电商网站建设、小程序、app开发。+86 13714715608

zen cart把字符集改为utf8

点击 2302    创建时间 2012-10-22 18:40:23

<p> 首先下载个utf8支持包:http://www.zen-cart.com/index.php?main_page=product_contrib_info&amp;cPath=40_46&amp;products_id=601</p> <p> 然后解压缩,覆盖掉旧文件,再到zc_install文录,搜索包含latin1的字符串,把它改为utf8。然后开始安装,如不出意料,你就会得到utf8版的zen cart</p> <p> utf8支持包主要是在query_factory.php中把</p> <div class="code"> mysql_query('SET NAMES "latin1"', $this-&gt;link);}/ Changes for UTF-8 Support/</div> <p> 改成</p> <div class="code"> mysql_query('SET NAMES "utf8"', $this-&gt;link);}/ Changes for UTF-8 Support/</div>

上一篇: 开始做自己的zen cart模板
下一篇: 年初三溜冰溜得裤档破了,而且是个黑店呀!!