[Vtigercrm-developers] utf-8 Problem

Grey Zer0 greyzero.am at gmail.com
Sat Jul 7 23:52:16 PDT 2012


Hi all,
I solved import utf-8 CSV problem in vtiger. This problem occurred in
move_uploaded_file() function of php. I change this default cod:

move_uploaded_file($_FILES['userfile']['tmp_name'], $tmp_file_name);

to this:
$csv_file = $_FILES['userfile']['tmp_name'];
move_uploaded_file($csv_file, $tmp_file_name);

in /modules/import/ImportStep2.php on line 92 in vtiger 5.2.1.

Tanks All.



On Sun, Jul 8, 2012 at 9:00 AM, Grey Zer0 <greyzero.am at gmail.com> wrote:

> Hi,
> My database collation is utf8_general_ci.
> My problem no relation to database format.
>
> On Sun, Jul 8, 2012 at 3:02 AM, Juan Pablo Botero <
> juanpabloboterolopez at gmail.com> wrote:
>
>> Hi Grey.
>>
>> Check in database the utf-8 support
>>
>> 2012/7/7 Grey Zer0 <greyzero.am at gmail.com>
>>
>>> Hi All,
>>> I am a vtiger developer in Persian language. I have two problem with
>>> vtiger utf-8 support.
>>>  1) Import CSV file in contact list or other modules.
>>> 2) I shift my php version to 5.3.2 or higher than 5.3, when I search an
>>> Persian word in quick search, no result pass to me. but in php version 5.2,
>>> no problem I see.
>>> please Help me to correct this problems.
>>> tank you,
>>> good lock.
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>> --
>> Cordialmente:
>> Juan Pablo Botero
>> Administrador de Sistemas informáticos
>> Fedora Ambassador for Colombia
>> http://www.jpilldev.net
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120708/245d693b/attachment.html 


More information about the vtigercrm-developers mailing list