You don't get it. Or maybe I wasn't clear. It's the fact that it selectively
removes quotes around columns that annoys me. If you look at the "before"
and "after" case, you can see that it removed the quotes for most of the
columns, and only kept those along the field which contains commas.
"Mark Lincoln" <mlincoln@earthlink.net> wrote in message
news:1142353434.025102.244750@i40g2000cwc.googlegroups.com...
> cosmin wrote:
> ----------
> "0","Freeware","WinXP,Windows2000,Windows2003","1989",
> After working with it in Excel it gets turned into this:
>
> 0,Freeware,"WinXP,Windows2000,Windows2003",1989,
>
> As you can see, only some of the fields now have quotes, (why? It's
> Excel being smart again and making the CSV inconsistent)
> ----------
>
> I don't see inconsistency here. The imported data without quotes were
> surrounded with quotes in the CSV file. Excel removes the quotes when
> data is presented this way. The imported fields still containing
> quotes only contain one double-quote character each:
>
> "WinXP
>
> Windows2003"
>
> and Excel imported them as is as it cannot be determined that they are
> not part of the data.
>
> (If you expected to see a field like:
>
> WinXP,Windows2000,Windows2003
>
> it won't happen because the commas are delimiters.)
>
Bookmarks