[XeTeX] Converting from arabtex to arabxetex

Ulrike Fischer news3 at nililand.de
Wed Aug 18 16:56:20 CEST 2010

Am Wed, 18 Aug 2010 08:55:55 -0400 schrieb Lomky:

> Hello,
> I am attempting to make a Perl script that takes in Arabic text in code page
> 6 (just glancing at it, I see an ascii range of C7 to ED) and converts it
> out into Arabic script in a pdf document. 

> So my question is, how do I get xetex to understand I want the code page 6
> input to become arabic output? I attempting to give it every
> \usepackage[]{inputenc} option I found to no avail.

inputenc won't work with xetex. 

Converting everything to utf8 is certainly the easiest. You can also
try \XeTeXinputencoding "cp1256" at the start of the files which use
your code page. 

Ulrike Fischer 

More information about the XeTeX mailing list