Results 1 to 3 of 3

Thread: Import Windows to Linux - with accents

  1. #1
    ysh's Avatar
    ysh
    ysh is offline Sugar Community Member
    Join Date
    Apr 2009
    Location
    Nice, France
    Posts
    91

    Default Import Windows to Linux - with accents

    Hi

    I'm attempting to import data into a newly installed linux server : Sugar CE 5.2c running on OpenSuse 11.1 with latest Apache2, PHP, MySQL (+ Synolia French language pack).

    The data, in french, originates from Excel 2003 running on Windows Vista
    I saved the file using OpenOffice Calc in CSV (UTF-8) format (all columns are in TEXT, delimited using ").

    As a matter of fact the Sugar database tables are all in UTF-8 format in MySQ, and the following settings have been checked and validated :

    config.php
    'default_charset' => 'UTF-8',

    include\language\en_us.lang.php
    'LBL_CHARSET' => 'UTF-8',

    include\phpmailer\class.phpmailer.php
    Var $CharSet = "utf-8;


    When I view the header row and first record, of a purposefully created test file, in the import screen (Accounts or Contacts) under Sugar the accents (international characters) appear properly. I have tried several other file formats, but without success (CP 1252, Unicode, ...)

    Once the import is over though I realize that the fields containing accentuated characters have simply been ignored i.e. not imported.

    With over 15000 records to import, and a good third of them with fields containing these international characters, and two days spent solely on this issue, I feel like I'm in a rut.

    Unfortunately I can't convince our customer to give up on these linguistic stress symbols.
    Ah non Monsieur !

    I don't particularly want to implement Sugar on a Windows box, but if I can't resolve this issue, I don't think that I'll be at liberty to choose my flavour.

    Today I will import the data unto a Windows Sugar installation, backup the MySQL databases, and then attempt to restore them onto the original Linux box to see if that works any better.

    Any ideas, or experience you might have on these matters will be greatly appreciated.

    Thanks

    ysh

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Import Windows to Linux - with accents

    Can you post an example or two from your import file? It looks like you have all the settings right, I would also look at admin->locale settings and make sure that they are all reflected there as well.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    ysh's Avatar
    ysh
    ysh is offline Sugar Community Member
    Join Date
    Apr 2009
    Location
    Nice, France
    Posts
    91

    Default Re: Import Windows to Linux - with accents

    Thanks for your reply

    Imported CSV file into Windows Sugar platform and then Backed-up databases via phpMyAdmin
    Restored MySQL dump into Linux box : accents were properly retained. Cool.

    I did attempt a few other direct imports from the Linux box and I finally got it to work : 'save as' from OpenOffice Calc of CSV in [Western Europe ISO-8859-1] or [Western Europe ISO-1252/WinLatin1] formats.
    Bingo !

    Happy

    ysh

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import Windows to Linux - with accents
    By ysh in forum Français
    Replies: 3
    Last Post: 2009-04-18, 12:33 PM
  2. Windows-Linux
    By Mnf in forum Italiano
    Replies: 5
    Last Post: 2008-07-25, 03:30 PM
  3. Windows V/s Linux
    By shvkumari in forum General Discussion
    Replies: 1
    Last Post: 2007-06-09, 07:45 AM
  4. Switching from Linux to Windows
    By devros in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2006-11-30, 10:08 PM
  5. windows vs Linux
    By kbrill in forum General Discussion
    Replies: 12
    Last Post: 2005-12-05, 03:46 PM

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
  •