vtigercrm5.4 导入数据中文乱码

vtigercrm5.4 导入数据中文乱码

modules/import/resources/Utils.php
static $supportedFileEncoding = array('GBK'=>'GBK','UTF-8'=>'UTF-8', 'ISO-8859-1'=>'ISO-8859-1');

在Smarty/templates/ImportStep1.tpl中的第99行插入<option value=”GBK”>GBK</option>

 

<select name="format" class="small">

<!-- value must be a known format for mb_convert_encoding() -->

<option value="GBK">GBK</option> // <<插入一行

<option value="ISO-8859-1">ISO-8859-1</option>

<option value="UTF-8">UTF-8</option>

</select>

你可能感兴趣的:(vtigercrm5.4 导入数据中文乱码)