Ask Your Question
0

Convert Arabic MS word document to correct pdf and text

asked 2019-11-02 11:32:23 +0100

M.R.Sharaf gravatar image

Hi There, I'm a new user for libreoffice and I want to convert Arabic MS word document to pdf and to text using this command

soffice --headless --convert-to txt filename.docx soffice --headless --convert-to pdf filename.doc

For English characters it is OK, but for Arabic characters it gives me ????? , would you please help me and give me the correct command to do this.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-11-05 10:51:10 +0100

M.R.Sharaf gravatar image

I found the following solution for arabic characters soffice --headless --convert-to "txt:Text (encoded):UTF8" --outdir c:\tmp c:\doc\file.docx

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-02 11:32:23 +0100

Seen: 27 times

Last updated: Nov 05