Hi,

I know CSV files are very badly defined. However, I think there is a bug in org-table-import. 
Indeed, if cell content is protected by quotations (""), everything inside those marks 
should be ignored. But when some cell entries contain "\n", org-table-import goes 
berzerck.

See the difference in resulting imports (in attached "test.org") for (attached) "test1.csv" 
& "test2.csv"

Regards,

--
Guillaume MULLER

* test1.csv
| ID | Title       |
|  1 | My ,Title 1 |
|  2 | My Title 2  |

* test2.csv
| "ID", | "Title", | "Text" |        |    |
| "1",  | "Title   | 1",    | "Text, |    |
| 1"    |          |        |        |    |
| "2",  | "Title   | 2",    | "Text, | 2" |

"ID", "Title", "Text"
"1", "Title 1", "Text, 1"
"2", "Title 2", "Text, 2"
"ID", "Title", "Text"
"1", "Title 1", "Text,
1"
"2", "Title 2", "Text, 2"

Attachment: OpenPGP_0xF3BCAD9F46F5FADC.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to