How to change language of document with api during conversion

I am having a large number of failure when converting .doc file to a .docx file with Arabic text using the command line.
Is there a setting that I am missing to make this process the documents correctly?
I am using version 4.4.

Found the answer in one of the bugs. Command line was not working with my version 4.4.1.2 which according to Bug 85777 is fixed as of version 4.4.4.1