Cannot upload some type of charachters

sidik - June 24, 2009 - 12:21
Project:Node import
Version:6.x-1.0-rc4
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

There is a problem with uploading some kind of charachters such is " č, ć. ž. š. đ"
Every sentence or word has been broaken on the of that kind of xharachter. For example... If i had in body the text: " Ovo je samo jedan on načina kako bi trebalo da se prikazuju informacije" , after uploadin i can only see text "Ovo je samo jedan od na "
All characters after that kind of charachters are simply dissapeared!

#1

LinL - July 2, 2009 - 09:38

For special characters, make sure that the file you are importing from is saved in UTF-8 format.

#2

lhernon - July 16, 2009 - 19:34

Thanks for starting this thread. The same thing applies to Spanish language characters. Is there any way to allow the special characters to upload? This can have a significant impact on the word
Laura

#3

cjdavis - July 16, 2009 - 03:50
Category:bug report» support request

Linl has it right - you need to use UTF-8 to import.

I am using OpenOffice calc (http://www.openoffice.org/product/calc.html) to save to CSV, it does a very nice job and is OSS. It uses quotes and escapes correctly. When saving to CSV change the character set to 'Unicode (UTF-8)' and the extended characters will be properly imported. There are no other options you need to change, and you should use the default CSV import options in node_import.

#4

mvc - September 1, 2009 - 20:35
Component:Code» Documentation

I can confirm that I've uploaded properly-formatted UTF-8 CSV files which included a variety of non-English characters with no problem. This is a problem with the CSV file which is beyond the scope of the node import module. However, end-user documentation describing how to create correctly formatted files with common programs such as Microsoft Excel written by someone who actually uses them would be helpful for many people, I'm sure.

 
 

Drupal is a registered trademark of Dries Buytaert.