Ranjan <(E-Mail Removed)> wrote:
> I am trying to convert EBCDIC file to ASCII file. the issues are
> 1) Can all EBCDIC file be converted to ASCII without loss of
> information.(There is one character cent sign which is not in ASCII, how to
> handle that?)
Only you can answer that, really - what should your application do with
cent signs? Do you *have* to use ASCII, or could you use Unicode?
(Note that there are lots of "flavours" of EBCDIC - the UK flavour has
the pound sign in, which isn't in ASCII, for instance.)
> 2)What about non printable characters in EBCDIC, do they all converted to
> ASCII format?
There are various printed characters in EBCDIC-US which aren't in
ASCII. Basically, look at
http://std.dkuug.dk/i18n/charmaps/EBCDIC-US
and note any characters where the Unicode value is above U0079.
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too