Import problem with "

You found an error in the program ? Report it here
Post Reply
deathbyaclown
Posts: 17
Joined: 2005-10-12 10:31:11

Import problem with "

Post by deathbyaclown »

Hi,

I have a csv file to import. In the plot part sometimes a " occurs. This results, that only the word in the " 's is taken.

e.g. Tired of being referred to by customers as "Excuse me," Rachel interviews for a job as an assistant buyer

Results in

Excuse me

is this due to some csv thing or a bug ?

thx
antp
Site Admin
Posts: 9660
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

It could be considered as a bug, yes.
But in CSV the "..." are usually considered as a string delimiter, I guess that the component that I use only keeps what is inside the delimiters what one if found in a field.
In next version this should be solved since I rewrote this part.
Until then, a solution would be to replace all " by “ or '' (two ') or another similar character, and then eventually by script do the opposite change in the catalog (I can provide you such script if needed).
deathbyaclown
Posts: 17
Joined: 2005-10-12 10:31:11

Post by deathbyaclown »

no thanks you dont need to provide me such script.

It occured to me while writing a java application, which writes a csv for importing TV shows. I just changed the application, it uses ' now instead of "
Post Reply