As a starter, try this unicode page:
http://perldoc.perl.org/perlunicode.html

Also of interest could be, which shows Arabic encodings:
http://unicode.org/charts/PDF/U0600.pdf Anyway you are going to maybe need to know what kind of dialect of Arabic you are using.

If you want a decent translation, you are going to need to display this Arabic stuff and have somebody who speaks arabic translate it for you. This is very difficult as usually there are multiple meanings per word. So you have a huge problem to solve there! I don't know of any Perl module that can do this. Although there may be some kind of say Google web gizmo that does translations and then we are into a a CGI type of application which can be done in Perl.

If you can get the problem down to "hey, this set of bits that mean a word in Arabic, need to get transformed into this set of bits that are english characters", then that job can be done.

Read above link about unicode . I don't how to be of more help right now.


In reply to Re: unicode translation by Marshall
in thread unicode translation by ed111

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.