On Fri, 13 Oct 2017 01:08:39 +0300 Robert Zavalczki
<[email protected]> wrote:
> You can reproduce it with the attached XLS file by running the command:
>
> xls2csv -s cp1251 hungarian.xls
>
> Details: the attached patch seems to fix the issue.
FYI I incorporated your test file and patch in my fork
https://github.com/skierpage/catdoc.
With the patch, `xls2csv hungarian.xls` generates the same characters
that I see opening the file in LibreOffice, e.g. "Munkáltató".
Your sample command line `xls2csv -s cp1251 hungarian.xls` still
generates the wrong characters, e.g. "Munkбltatу", maybe you meant to
write `-s cp1252` (which works)?