Description: MSOffice Excell supports delimiter support and automatically recognized which separator should use if defined in first line for CSV files. Example of csv file: sep=| "LETTER"|"ANIMAL" "a"|"aardvark" "b"|"bear" "c"|"cow" That part "sep=|" at first line of code recognize automatically by MS and separated as delimiter. Steps to Reproduce: 1. Create a CSV document with first line delimeter "sep=|" anda fillup data 2. Open with libreoffice and autodetect sep delimiter type 3. Parse delimeter and open a Libreoffice Calc document using CSV Actual Results: sep=| "LETTER"|"ANIMAL" "a"|"aardvark" "b"|"bear" "c"|"cow" Expected Results: LETTER ANIMAL a aardvark b bear c cow Reproducible: Always User Profile Reset: Yes Additional Info: https://kb.paessler.com/en/topic/2293-i-have-trouble-opening-csv-files-with-microsoft-excel-is-there-a-quick-way-to-fix-this Affects only on MS platform. Tried on LibreOffice 5 from ubuntu 17.10 without affects. User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Marin, thank you for your report. I could reproduce the issue on version 6.4.0.2 [1] and 6.1.0.0.beta1 on macOS and 6.1.0.0.alpha1 on Windows. Setting the status to NEW. [1] - 6.0.4.2 Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf CPU threads: 8; OS: Mac OS X 10.13.3; UI render: default; Locale: en-US (en_US.UTF-8); Calc: group [2] - Version: 6.1.0.0.beta1 Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0 CPU threads: 8; OS: Mac OS X 10.13.3; UI render: default; Locale: en-US (en_US.UTF-8); Calc: group [3] - Version: 6.1.0.0.alpha1 Build ID: cb47f0d320994e001bc38dc2ee9b7d957b15e6ab CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: en-US (en_US); Calc: group
Dear Marin Sagovac, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
still repro in Версия: 6.5.0.0.alpha0+ (x64) ID сборки: 32dcf3f0fdafcf44457842a8aa4f54d30d856ca9 Потоков ЦП: 4; ОС:Windows 10.0 Build 17763; Отрисовка ИП: GL; VCL: win; Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU Calc: threaded but I think it's an enhancement
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/451e4abb5377f6d923860e9adfce82d46f31e049 Resolves: tdf#117868 CSV: support sep=; and "sep=;" separator setting It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hi Eike, Now, when I open a csv file like sep=| "LETTER"|"ANIMAL" "a"|"aardvark" "b"|"bear" "c"|"cow" the result is sep= LETTER ANIMAL a aardvark b bear c cow Should the first row sep= be ignored and not imported into the spreadsheet ?
(In reply to Xisco Faulí from comment #5) > Should the first row sep= be ignored and not imported into the spreadsheet ? Just set the "From row" number to 2 instead of 1. Note however that if in a sheet the top left cell content is "sep=" or "sep=|" (without quotes and any separator) and is the only cell on the first row then when writing the sheet back to CSV the then current separator is added even if a different one was chosen. That functionality of course is lost if the first row is not imported. I'll add details to the release notes.
(In reply to Eike Rathke from comment #6) > (In reply to Xisco Faulí from comment #5) > > Should the first row sep= be ignored and not imported into the spreadsheet ? > Just set the "From row" number to 2 instead of 1. > > Note however that if in a sheet the top left cell content is "sep=" or > "sep=|" (without quotes and any separator) and is the only cell on the first > row then when writing the sheet back to CSV the then current separator is > added even if a different one was chosen. That functionality of course is > lost if the first row is not imported. > > I'll add details to the release notes. I see, thanks for the clarification!! Will try to write a test for this. Thanks for fixing this issue!! Verified in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 4f4452f6a74201e862971a79ba5bdcd06f3ba9ce CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4cfc303886bc9f863f755f8278561f9e57f9a5c5 tdf#117868: sc: Add UItest It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/4973d1a792d20d77e7401c1d2b1fe9821695297d tdf#117868 Help contents for sep= in CSV files
Olivier Hallot committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/help/commit/c0c813639a014d4ac3a9a3f3cb113bd1dab71a90 tdf#117868 Help contents for sep= in CSV files
reviewing 7.3 release notes. Verified in: Version: 7.3.0.1 / LibreOffice Community Build ID: 840fe2f57ae5ad80d62bfa6e25550cb10ddabd1d CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded