Re: ASCII to Arabic character conversion



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__@xxxxxxxxxxx> 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
-------------------------------------------------------------------------------



Relevant Pages

  • RE: ASCII to Arabic character conversion
    ... has at least two ASCII style encodings that I have heard of. ... Most translation systems are restricted to latin character sets. ... >> Audit your website security with Acunetix Web Vulnerability Scanner: ... Up to 75% of cyber attacks are launched on shopping carts, ...
    (Pen-Test)
  • Re: Audio Innovations silver speaker cable
    ... But you seem to prefer to hurl abuse from a safe distance:-(( ... launch many verbal (well, ASCII anyway) attacks on people. ...
    (uk.rec.audio)
  • Re: FtpWebRequest in 2.0 Framework
    ... > Has anyone tried to download a mainframe file with FtpWebRequest. ... > The old inet control in VB6 has the same problem. ... > Command line FTP has no problem to translate from EBCDIC to ASCII, ...
    (microsoft.public.dotnet.framework)
  • Re: DISPLAY format question
    ... Yes the input bytestream was converted from EBCDIC to ASCII as character ... >> the characters that are used to represent a negative sign in EBCDIC!!! ... > that would translate to in ASCII? ...
    (comp.lang.cobol)
  • Re: FTP a file with text and comp-3 data in it from AIX to MVS (or the other way)
    ... I bet the file on MVS contains EBCDIC, not ASCII, and comp-3. ... In BIN mode, FTP just sends the data and doesn't translate the EBCDIC ...
    (AIX-L)

Quantcast