# \[X\] V2.54 small bug in CSV export, with fixing methods

**URL:** <https://community.mp3tag.de/t/x-v2-54-small-bug-in-csv-export-with-fixing-methods/14520>\
**Category:** No Bugs\
**Created:** [March 5, 2013, 1:31pm UTC](https://community.mp3tag.de/t/x-v2-54-small-bug-in-csv-export-with-fixing-methods/14520 "2013-03-05T13:31:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artofit](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@artofit](https://community.mp3tag.de/u/artofit)\
**Post date:** [March 5, 2013, 1:31pm UTC](https://community.mp3tag.de/t/x-v2-54-small-bug-in-csv-export-with-fixing-methods/14520/1 "2013-03-05T13:31:40Z")

</div>

Hello,

Thanks very much for MP3Tag.

Whenever a metatag contains a semi-colon, then the export CSV will show wrong columns ouput, as semi-column is the delimiter!

Test case:  
Take for instance  
Title tag

> [@](#):
>
> 15 Pa' ti Pa' mi (Para ti Para mi; Palmas; Las Palmas)

Album tag

> [@](#):
>
> Dance;cuban

View now this in Excel and you have more than 2 columns

Bug fixing:  
method1: wrap all export fields with "  
method2: change ; to another char, I propose \_

REMARK:  
I would prompt the user (I discovered this by chance) if the export tag fields are not the same as the current viewed tags !!!

Indeed you might view (title, artist,genre, album) and export (title, genre) believing that you actually exported (title, artist,genre, album).  
Here it's obvious, but when more tags are involved and having thousand of files, it might be overlooked. Accident happens...

Thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [March 5, 2013, 4:03pm UTC](https://community.mp3tag.de/t/x-v2-54-small-bug-in-csv-export-with-fixing-methods/14520/2 "2013-03-05T16:03:49Z")

</div>

> [@artofit](#):
>
> Hello,  
> ....  
> I would prompt the user ... if the export tag fields are not the same as the current viewed tags !!!  
> ...

I doubt that this will be possible as the export format is - unless you have discovered this yourself - always plain text.  
It is you who arranges this text in a fashion that other programs consider it as some kind of structured data.  
In general this would require built-in knowledge in MP3tag about the target format and the intricacies of various programs and how they interpret the text.

As you are at it: have a look at files that have multi-line fields like UNSYNCEDLYRICS or COMMENT: if you export one of these fields you will get even more surprises then just more columns.

So I wouldn't consider this a bug.

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [December 28, 2018, 2:32pm UTC](https://community.mp3tag.de/t/x-v2-54-small-bug-in-csv-export-with-fixing-methods/14520/3 "2018-12-28T14:32:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
