When I try
soffice --headless --convert-to csv myfile.xlsx
the resulting file has no UTF-8 encoding.
I found out that I have to use the output filter “Text - txt - csv (StarCalc)” followed by a list of parameters, like so:
soffice --headless --convert-to csv:"Text - txt - csv (StarCalc)":<listofparameters>
The Problem is none of the solutions I found worked for me. I always get the error message:
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///path/to/myfile.csv> failed: 0x81a)
I noticed that the solutions I found refered to LO4. So maybe the input format has changed? Unfortunately, I can’t find any documentation on that.
My LibreOffice version is 5.4.2.2