in reply to Re^2: CSV file
in thread CSV file

For the record there is currently no such thing as a standard CSV format.

If you are using Microsoft Excel, it will encapsulate each "cell" of data in quotes, instead of escaping the commas. However, what if the cells have quote marks? I suppose they would need to be escaped if using that format. I found the following "guide" to CSV online.


Considerations When Exporting CSV

The biggest differences are in how these three characters are handled. Theoretically, if you could avoid exporting any fields that include these characters you would greatly improve the chances that your CSV file could be read by variations.

Is it worth reducing your application's functionality or convenience? No. But if the existence of these characters is entirely superfluous, you might consider taking them out.


Take your pick. I picked one format. There are others.

Blessings,

~Polyglot~

Replies are listed 'Best First'.
Re^4: CSV file
by raghu_shekar (Novice) on May 21, 2009 at 04:40 UTC
    Thanks a ton all of you guys... i will try these and let you know what comes up.. :)