Ask Your Question

DOS/OS2-437/US text files in Libre Office Writer [closed]

asked 2017-05-14 12:27:43 +0100

volker gravatar image

I regularly have to edit textfiles encoded in ASCII-437. Rather than going through the tedious "Text - choose encoding" procedure I would like to open such files from the command line, so I can embed the command into a script. As suggested in help I tried the switch --infilter="Text (encoded):Western Europe (DOS/OS2-437/US)" but without success. What can I do?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-10-04 10:04:33.372817

2 Answers

Sort by » oldest newest most voted

answered 2017-05-14 22:04:58 +0100

Regina gravatar image

Try it similar to this after the path and call of soffice.exe

--infilter="Text (encoded):IBM_437,CRLF,," -o "C:\Users\pppregin\Desktop\EncodedText.txt"

The encodings are listed in

The line ends are LF for Linux, CR for MacOS and CRLF for Windows. The parameters missing in my example are for the font name and the language. I have not tried their syntax.

edit flag offensive delete link more

answered 2017-05-14 23:47:20 +0100

volker gravatar image

Herzlichen Dank, Regina, dein Tipp funktioniert einwandfrei, auch mit code pages 850 und 1250. Was bedeuten die beiden Kommata nach CRLF, sind weitere Optionen möglich?

edit flag offensive delete link more


font name and language

Regina gravatar imageRegina ( 2017-05-15 05:59:07 +0100 )edit

Question Tools

1 follower


Asked: 2017-05-14 12:27:43 +0100

Seen: 225 times

Last updated: May 14 '17