How do I specify an input encoding for a file I want to convert in a headless mode:
libreoffice --headless --convert-to csv test.xls
This command messes up the non-ascii characters of the windows-1250 character set. Google-ing around, I found a hint that LibreOffice tries to import iso-8859-1 character coding by default and thus messes up the caracters.
The GUI operation of opening an xls file and saving as a .csv does translate the non-ascii characters corectly.
Please help.