It means that somewhere along the way, the character set that your Arabic characters were originally encoded in is not converting to UTF-8 correctly. I presume that in R07, you are not using UTF-8 and so you need to tell the DM tool what the incoming encoding is. It should then happily convert the Arabic character set from R07 into the UTF-8 that is used in R09.
Another possibility is that the encoding is perfectly fine, but your output device does not want UTF-8 but some other encoding. In that case you need to tell jBASE what the output character encoding should be. You set environment variables to do this. Basically everything is stored as UTF-8 in the database and in the program and is converted on the fly at input and output time, should the input device or output device not work with UTF-8 encodings and/or Unicode code points.
Jim
The incoming code page/character set will definitely NOT be ISO8859-1 (IANA) as this does not encode any Arabic charactersJ http://en.wikipedia.org/wiki/ISO/IEC_8859-1 .
So, this will be our problem as unless you tell jutf8 what the incoming character set actually is. You do not say what the base operating system is (please take a moment to read the posting guidelines inked at the bottom of this message), so I can’t give you more than a few ideas about what the incoming code page is, but likely candidates are:
ISO:
Windows 1256 – Arabic
IBM:
I suspect 8859-6 is the one to start with, so specify this to jutf8, with an output of utf8. Then of course you must make sure that the web page you are displaying is flagged as being in UTF-8.
Ahlan Wa Sahlan ;-)
From:
jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf Of ramesh
d
Sent: Tuesday, November 03, 2009 8:48 AM
To: jb...@googlegroups.com
Subject: Re: T24 FILE IS GETTING CORRUPTED
Hi JIM,
Thanks
It is working fine
Im using jutf8 -c windows-1256 <filename>
Thank u very much.
:
Regards,
Ramesh
--