Results 1 to 5 of 5

Thread: Strange problem with contact import

  1. #1
    dennisbwest is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default Strange problem with contact import

    When trying to import contacts from csv file I get question mark characters showing up in the data. For a one person one field (last name) import I got "C�u�r�t�i�s�J�o�h�n�s�o�n�" as the value in the field. But the value in the text file is "CurtisJohnson".

    Runnining with:
    Linux
    MySQL4 4.1.9
    Php 4.4.2
    Sugar 4.5.1f

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Strange problem with contact import

    How are you creating that CSV file?

    Does the same thing occur if you import a different, manually created CSV file with a couple of the same contacts?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    dennisbwest is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default Re: Strange problem with contact import

    With a text editor. It has no unusual characters.
    Looks like this:
    last_name
    CurtisJohnson

    I also tried it with quotes around values.


    Thanks for thinking about it.

  4. #4
    dennisbwest is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default Problem fixed

    Thanks for helping me.
    While I was using a text editor to edit the file and there did not appear to be any extra characters in the file, there must have been something wrong with the file because I made a new file with some test data and it worked.

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Strange problem with contact import

    Your csv-File seems to be coded in a double byte charset.
    So each second character is a 0x00 character.
    Most editors do not show this
    Open the csv-file in a hex-editor and you will see this.
    Perhaps you generated the csv-file with a doublebyte charset option?

    regards
    hk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 2007-01-05, 07:42 PM
  2. Sub-Accounts import problem
    By garfield in forum Help
    Replies: 1
    Last Post: 2005-09-01, 12:01 AM
  3. version 3.5 problem with data import
    By Scooter in forum Help
    Replies: 1
    Last Post: 2005-08-16, 05:15 PM
  4. Replies: 1
    Last Post: 2005-06-30, 07:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •