Issue 18458 - CSV files should use "Text" cell types by default.
Summary: CSV files should use "Text" cell types by default.
Status: CLOSED WONT_FIX
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-20 19:33 UTC by Unknown
Modified: 2003-09-08 16:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-08-20 19:33:07 UTC
Unless you specify "Text" as the cell type for all cells of a CSV, the contents 
are imported unpredictably. Fractions are sometimes converted to dates. Also, 
saving a CSV file shouldn't make you view two different warnings just to save 
the same file you just opened. Since you opened a CSV file, it should assume 
that you actually WANT to save it as a CSV file again.
Comment 1 frank 2003-08-21 19:22:27 UTC
Hi,

first of all, just one description per Issue.

Point 1:

this is not what most users want. The import of CSV files should make
numbers as numbers not text. If you have some formatting Issues, just
select the correct format in the CSV Dialog.

Point 2:

If you want to save your documents as CSV by default, just select it
under tools options load/save as default format. These dialogs have
saved me a lot of time and I assume it's the same for a lot of other
people all over the world.

As both of the points you mentioned are working as designed and a lot
of people are happy with them I set this Issue as wontfix.

Best regards

Frank
Comment 2 frank 2003-08-21 19:22:48 UTC
closed wontfix
Comment 3 daniel.rentz 2003-08-22 10:30:46 UTC
Gillissie,

I disagree. CSV means comma separated *values*. The main intention of
this file format is to transport numerical data.

If you work on a system with period as date separator and comma as
decimal separator, the filter may convert text like 10.12 to a date.
This does not happen always, as for instance 13.14 is not a valid
date. Therefore the latter becomes text then. I think this let you
feel that the filter works unpredictably :-)

To import these values, set the column type to US-English. This forces
the filter to use periods as decimal separator, and not the separator
of the current locale settings of your system.