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:

    There are few things more disturbing than to find, in somebody we detest, a moral quality which seems to us demonstrably superior to anything we ourselves possess. It augurs not merely an unfairness on the part of creation, but a lack of artistic judgement.... Sainthood is acceptable only in saints.
    Pamela Hansford Johnson (1912–1981)

    what evil is: not as we thought
    Deeds that must be punished, but our lack of faith,
    Our dishonest mood of denial,
    The concupiscence of the oppressor.
    —W.H. (Wystan Hugh)

    what evil is: not as we thought
    Deeds that must be punished, but our lack of faith,
    Our dishonest mood of denial,
    The concupiscence of the oppressor.
    —W.H. (Wystan Hugh)

    The art of advertisement, after the American manner, has introduced into all our life such a lavish use of superlatives, that no standard of value whatever is intact.
    Wyndham Lewis (1882–1957)