Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6155 Widoki

The CSV import doesn't work. I use the export to have the model, then i try to impot it and i always have : La prévisualisation de l'import à échoué à cause de : new-line character seen in unquoted field

If i make a new one i always have this error... I use excel to make the file.

 

How can i do a good file without this new-line character error ???

 

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

 

The problem is with excell and widows code pages.. 
1. excell is pretty stupid ( does not export UTF-8 , and does not support double quotes on all fields)

Try using LIbre Office or OpenOffice...(no problem openeing .xls files)

 when exporting to csv make sure that you are using recomended export options:

- UTF-8 file encoding format, double qouoted all text fields, and preferably... use it on linux... 
(some users expirience line feed char <CR/LF> problem with files made on windows  )

Defintivly check csv file before importing..  look in product description field

If you need new lines in product description.. dont use newline char ( press enter) ... 
instead use '\n' ..  your description should be in one line of csv .. double quoted...
example: for description: 
"Description line...and some text\nSecond line ofdescription...."     -> Correct format

"Description line...and some text
Second line ofdescription...."  --> format that defintivley produce error on import.. .
 

hope this helps.. 

Awatar
Odrzuć
Najlepsza odpowiedź

Libreoffice works fine for me.

Awatar
Odrzuć