Importing a .csv file - French and English version

Hello,

I am automating the import from a different software using the .csv import option.
My firm is french speaking, and I managed to create a .csv file that could be imported in ganttproject but the columns that have an accent (i.e. “Numéro hiérarchique”, “Date de début”, “Nouvelle tâche”,…) are not always recognized and not taken into account. The values are just set to default and they end up being duplicated if I export the gantt project afterwards (under the column names “Num ro hi rarchique”, “Date de d but”, “Nouvelle t che”,…).

I then tried to switch my ganttproject to english and my columns’ titles aswell to avoid this issue but my import does not work anymore. I used the column titles given by the english export, but i get an error when I try to import it. The log outputs this :
SEVERE: Failed to create PDF font supplier for the fallback font=frutiger bold file=C:\windows\fonts\FrutigerBold.ttf
Maybe it has to do with accents in the names of my tasks?

Attached are the (partially working) french and (not working) english versions of my .csv’s. Any help regarding the french columns not read or the english import not working would be appreciated.

Thanks in advance,
import_GC.csv (2,1 Ko)
import_GC_french.csv (2,3 Ko)

Hello,
my GanttProject imports both projects without major issues (except that I see a replacement character � in the task names instead of accented characters). You need to match the CSV language and application language (that is, your application language needs to be French if you import a CSV with French column titles) and column delimiter.

Thanks for this quick response. We have almost the same results, but I have a few issues with it:

  • the outline numbers aren’t taken into account (I had prepared an indentation with outline numbers such as 1; 1.1; 1.2; 1.3; 2; 3; 3.1; 3.2; etc)
  • The coloring of the tasks isn’t used
  • In my file, when I import a task with a duration of 0, it is transformed into a duration of 1. That is not your case, can you think of a reason causing this?

I found how to resolve these issues. GanttProject uses .csv files encoded with UTF-8. Mine were encoded with ANSI.
Now that I corrected that, everything is well and the accented characters are even recognized :slight_smile:
Thanks for your help!