Hello,
I am getting issue on Arabic text encoding problem ibn xml.
Example:
invoice.xml
cbc:RegistrationNameشركة توريد التكنولوجيا بأقصى سرعة المحدودة | Maximum Speed Tech Supply LTD</cbc:RegistrationName>
signed-invoice.xml
cbc:RegistrationName??? ??? ??? ??? ??? ??? | Maximum Speed Tech Supply LTD</cbc:RegistrationName>
When I run the command from terminal fatoora -sign -invoice invoice.xml -signedInvoice signed-invoice.xml the signed invoice file worked but when I run same command from java execution process then it will not encode the Arabic text correctly.
Example
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec(“fatoora -sign -invoice invoice.xml -signedInvoice signed-invoice.xml”);
the above example return the output like:
cbc:RegistrationName??? ??? ??? ??? ??? ??? | Maximum Speed Tech Supply LTD</cbc:RegistrationName>