Thread: CSV Files

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    In theory you are absolutely right. Excel can be used to import a file and then export it again into a "localized" csv format, but Excel enjoys converting long numbers like EAN codes or personal id (like your SSN) into so called scientific notation and when it sees something like 2/4 it must be April 2nd or whatever. So every import into excel takes a lot of time in that import dialog where I need to say for every column if it's a text or number or what.

    In the end, I lose a lot of time in application A or application B. Plus I have a bigger problem with Excel in my country. The Mac version hates our diacritics (šđčćž) in text files. Even some Windows version are strange, so each time I import/export from Excel there is a great chance some, if not all of these characters will get lost.

    But the big question of my first post was why is csv designed that way? Whay is separator volatile? Why is decimal separator unstable? What about dates? Shouldn't be better if the separator was always comma, decimal point defines numbers and application should take care of localized presentation of the data.
    Last edited by idelovski; 04-18-2012 at 01:15 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drag and Drop files/Read and write files
    By ScoutDavid in forum C Programming
    Replies: 2
    Last Post: 01-13-2011, 12:14 PM
  2. Multiple Source Files, make files, scope, include
    By thetinman in forum C++ Programming
    Replies: 13
    Last Post: 11-05-2008, 11:37 PM
  3. Packed Files (Puting multiple files in one file)
    By MrKnights in forum C++ Programming
    Replies: 17
    Last Post: 07-22-2007, 04:21 PM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Replies: 3
    Last Post: 05-03-2002, 05:18 PM