<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - CSV file is re-saved with wrong delimter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117955">117955</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CSV file is re-saved with wrong delimter
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dr.christian.kral@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I open a CSV file with TAB separated values in LibreOffice Calc and change some
cells. The I hit CTRL+S to save the changed file. Then, the CSV file is saved
replacing the TAB by a COMMA (,) which cannot be the intention of saving a CSV
file which was opened with TAB delimiters. 

If I create a new file and save it as CSV file with TAB delimiter, then any
saving of the CSV file (using CTRL+S) does store the file TAB delimiter. This
is the expected behavior. 

The actual problem occurs, when LibreOffice Calc is used to open and re-save a
TAB separated CSV file. 

Steps to Reproduce:
1. Open CSV file with TAB delimiter
2. Change cells
3. Save file
4. Open CSV file with editor: TAB changed to COMMA (,)

Actual Results:  
TAB is replaced by COMMA

Expected Results:
TAB should not be changed when saving, if a TAB separated CSV file is opened


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101
Firefox/60.0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>