Author Topic: problem with Contact Import  (Read 3608 times)

tchu

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
problem with Contact Import
« on: April 14, 2009, 10:34:34 pm »
Regarding Contact Import from CSV file with Chinese Charectors.

I imported to Contacts on OG 1.3.1 a CSV file in UTF-8 format with only some required columns for me. But I first got error msg of being not a CSV file. After continuing, the mapping fields with Chinese Charectors all displayed garbage Charectors and the screen popup 'Ext.get("og_1239753149_851807filenamefield") is null'.

tchu

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: problem with Contact Import
« Reply #1 on: April 15, 2009, 09:11:32 pm »
Adding to previous post...

It seems to me that the garbage Charectors result from 'utf8_encode' function in lines 1255 & 1261 of 'application\controllers\ContactController.class.php'. They may need function like 'mb_convert_encoding' for multi-byte charectors.

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: problem with Contact Import
« Reply #2 on: April 17, 2009, 05:40:37 pm »
Hi,
This two bugs will be fixed for next release (v 1.4).

thanks for reporting !