CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Importing falls short - non printable characters halting import - solution
Pages: [1]

Author Topic: Importing falls short - non printable characters halting import - solution  (Read 733 times)

jwittkam

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Wordpress 3.6
  • MySQL version: 5.5.31
  • PHP version: 5.3.27
Importing falls short - non printable characters halting import - solution
October 01, 2013, 02:13:47 pm
I installed CiviCRM a few weeks ago and have been migrating a lot of data into it.  I had thousands of contacts (from around the world) and my imports kept cutting short over and over again on contacts that had certain foreign non-printable characters in them.  The data was collected from a web form with no limitations on what data was allowed inside.

The CiviCRM import wizard kept choking.  I discovered that if I bring my files into Notepad++ first and use the TextFX feature to "Zap all non printable characters" then it cuts out the problematic fields and makes it possible to import all records.

I found myself using this feature of Notepad++ over and over again, so I thought I would put a mention of it here in the CiviCRM forum.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Importing falls short - non printable characters halting import - solution
October 01, 2013, 02:50:28 pm
Thank you for this tip!

In my experience, CiviCRM can handle all different character sets - so if it's choking on a character, it's either a) a true non-printable character (meaning a control character), or b) there was a character encoding issue.  Converting file encodings to UTF-8 before importing to CiviCRM is a big help when dealing with non-Roman alphabets!
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Importing falls short - non printable characters halting import - solution

This forum was archived on 2017-11-26.