Re: ASCII to Arabic character conversion

From: Justin Ferguson (jnferguson@gmail.com)
Date: Thu Dec 01 2005 - 06:56:20 EST


Peter,

I wanted to add a couple things here. Firstly, its impossible to
represent arabic in ASCII, each byte only has a max value of 255, and
all of the possible values have been has already been assigned values.
With that said you are most likely looking at something in unicode
format. I realize its semantics, but its important as you try to
convert it.

With that said, are you wanting to translate it to english? I don't
know of an automated tool that can do this other than perhaps
babelfish or the likes.

Additionally, I don't think its possible to convert it to ASCII, and
even if it was I believe it would be useless gibberish. The best
option most likely is then, from a programatic standpoint, is not to
convert anything, but rather just handle each multibyte/widebyte
character as a single character.

If you are simply wanting to translate to english, then conversion of
encodings is trivial/pointless.

The final option, if you want to convert it to ASCII or similar is to
transliterate each character and then convert them to ASCII as you go,
I'm not sure how you would do this in a programmatic manner without an
in-depth knowledge of the language.

So in conclusion, you really need to be more specific about what you
are trying to accomplish-- and chances are without translation to
english or transliteration, you are SOL.

If you want to give just straight encoding format conversions, you can
try the iconv program, assuming you are on a posix compliant platform.

Best Regards,

Justin F.

On 12/1/05, P. Entester <pentest__@hotmail.com> wrote:
>
> Hello again,
>
> In the same capture as my previous post, all the answers are in Arabic.
>
> So, i have ACSII representatation of Arabic characters, representing cell
> data, that i need to translate.
>
> Is anyone here aware of a tool or a method to assist me in this?
>
> Thanks a lot,
>
> Peter Entester.
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ------------------------------------------------------------------------------
> Audit your website security with Acunetix Web Vulnerability Scanner:
>
> Hackers are concentrating their efforts on attacking applications on your
> website. Up to 75% of cyber attacks are launched on shopping carts, forms,
> login pages, dynamic content etc. Firewalls, SSL and locked-down servers are
> futile against web application hacking. Check your website for vulnerabilities
> to SQL injection, Cross site scripting and other web attacks before hackers do!
> Download Trial at:
>
> http://www.securityfocus.com/sponsor/pen-test_050831
> -------------------------------------------------------------------------------
>
>

------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner:

Hackers are concentrating their efforts on attacking applications on your
website. Up to 75% of cyber attacks are launched on shopping carts, forms,
login pages, dynamic content etc. Firewalls, SSL and locked-down servers are
futile against web application hacking. Check your website for vulnerabilities
to SQL injection, Cross site scripting and other web attacks before hackers do!
Download Trial at:

http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:55:12 EDT