Comma-separated Values - Lack of A Standard

Lack of A Standard

The name "CSV" indicates the use of the comma to separate data fields. Nevertheless, the term "CSV" is widely used to refer a large family of formats, which differ in many ways. For example, many so-called "CSV" files in fact use the tab character instead of comma (such files can be more precisely referred to as "TSV" for tab separated values); some allow or require single or double quotation marks around some or all fields; and some reserve the very first record for a list of field names.

A particular problem is that in some countries, it is very common to write the decimal point as a comma instead of period. For example, pi would be written as 3,14159. This makes the comma a poor choice for field-separator in many locales. Other implementation differences include handling of more commonplace field separators (such as space or semicolon) and newline characters inside text fields.

Such lack of standardization can cause problems for data exchange based on so-called "CSV" files. One solution is to rely on a standard, such as that proposed by RFC 4180. The more common but technically less satisfactory solution is to rely on human intervention: because CSV files are plain text, humans can view and diagnose most common variants using a text editor.

Read more about this topic:  Comma-separated Values

Famous quotes containing the words lack of a, lack of, lack and/or standard:

    “What makes philosophy so tedious is not the profundity of philosophers, but their lack of art; they are like physicians who sought to cure a slight hyperacidity by prescribing a carload of burned oyster-shells.”
    —H.L. (Henry Lewis)

    “I mistrust all systematizers and avoid them. The will to a system is a lack of integrity.”
    —Friedrich Nietzsche (1844–1900)

    “The particular source of frustration of women observing their own self-study and measuring their worth as women by the distance they kept from men necessitated that a distance be kept, and so what vindicated them also poured fuel on the furnace of their rage. One delight presumed another dissatisfaction, but their hatefulness confessed to their own lack of power to please. They hated men because they needed husbands, and they loathed the men they chased away for going.”
    —Alexander Theroux (b. 1940)

    “The urge for Chinese food is always unpredictable: famous for no occasion, standard fare for no holiday, and the constant as to demand is either whim, the needy plebiscite of instantly famished drunks, or pregnancy.”
    —Alexander Theroux (b. 1940)