Hi Joe,
I solved the problem by doing the following:
1- downloaded the dejavu font from:
https://frontaccounting.com/wbt/modules … hp?file=57
(required in class.pdf.inc )
This solved the PDF wrong Arabic characters in English interface
2- changed 'iso-8859-1' to 'utf-8' in some files (see below)
Now everything works just fine in both Arabic & English interfaces.
I think these modifications can be applied without breaking the backward compatibility by just using a global setting variable "force_utf-8" which = false by default so that all previous installations work normally & a simple ternary operation (?:)
I'm not a PHP programmer but I think we can do:
this statement in .\install\index.php:
0 => array ('code' => 'C', 'name' => 'English', 'encoding' => 'iso-8859-1'));
can be written as:
0 => array ('code' => 'C', 'name' => 'English', 'encoding' => ($force_utf8 ? 'utf-8' : 'iso-8859-1' ) ));
The files are (searching for 'iso-8859-1'):
.\install\index.php (1 hit)
.\lang\installed_languages.inc (2 hits)
.\reporting\includes\class.mail.inc (1 hit)
Thanks,
WH