標題:Virtuemart 電話詢問(電話報價)頁面內文出現亂碼之解決 出處:MaruMagi部落格之拷貝經驗 時間:Wed, 26 Jan 2011 06:49:44 +0000 作者:zuyan 地址:http://maru.gates.tw/read.php/264.htm 內容: 修改詢問頁面 components\com_virtuemart\themes\default\templates\pages\shop.ask.tpl.php 第34行 原始程式碼
修正程式碼
administrator/components/com_virtuemart/classes/ps_product.php 第2190行 原始程式碼$product_name = htmlentities( $this->get_field($product_id, 'product_name'), ENT_QUOTES ); 修正程式碼$product_name = htmlentities( $this->get_field($product_id, 'product_name'), ENT_QUOTES, 'utf-8' ); 使用版本 Joomla 1.5.22 VirtueMart 1.1.6 Generated by Bo-blog 2.1.1 Release