Microsoft Excel 2003 gets its delimiters from the Windows regional
settings. Eg, New Zealand uses commas to delimit and Germany uses semi-
colons.
We've changed the settings back to using commas to fix the bug, but
this raises an implementation issue of how we can keep SilverStripe
internationalised.
Perhaps the delimiter setting could be set on a per-user basis?
For 99% of cases, a site-wide setting would be perfectly adequate -
something set in _config.php. If you wanted to take it further, you
could have a delimter option in the form where you upload the CSV
file.
As a general comment, it would be nice if we could more easily provide
CSV-import functionality at customised places in the system. For
example, a custom app might have a new DataObject that you want to
provide import facilities for.
If we were to make such a field, it would be best to present it in a
pop-up window, so that you could potentially take the user through a
number of steps - choosing the delimiter and maybe even letting the
user match the uploaded columns to the columns in the database. The
point is that if the CSV uploader were in a pop-up, we could more
easily improve on the CSV uploader and then publish that upgrade to
sites that user it.
-- Thanks, Sigurd -- Sigurd Magnusson | Chief Marketing Officer SilverStripe http://www.silverstripe.com Office: +64 4 978 7332 Skype: sigurdmagnusson Learn more about our next version of the SilverStripe product! http://silverstripe.com/whats-coming-in-silverstripe-2-2/