On Sat, 1 May 2010 20:38:56 +0900, Kino <[log in to unmask]> wrote:

>On May 1, 2010, at 6:00 PM, Hamid Haji wrote:
>
>> On 29.04.2010, at 15:37, Kino wrote:
[...]
>Anyway, if you have Xcode Tools installed, ...
>
>1. Download Encode-Detect-1.01.tar.gz from
>   <http://search.cpan.org/~jgmyers/Encode-Detect-1.01/>;
>
>2. Unzip it;
>
>3. Open Terminal and change the current directory to "Encode-Detect-1.01";
>
>4. Run the following commands one by one:
>
>perl Makefile.PL
>make
>make test
>sudo make install
[...]

Did all that and ran the macro on an Arabic (Windows) test file of 20 pages.
The conversion is instantaneous.
Thank you.

>As I wrote above Encode::Detect does not help. Try the macro below instead.
><http://www2.odn.ne.jp/alt-quinon/files/NWPro/arabic/OpenArabicTextFiles_nwm.zip>
>
[...]
Hamid