If it is EBCDIC you can get the Convert::EBCDIC module from Active State
or CPAN to do the conversion.

-----Original Message-----
From: Kim H. Young [mailto:khyoung@;civiltecheng.com] 
Sent: Thursday, October 31, 2002 11:13 AM
To: 'Mohanty, Debi (MED, TCS)'
Cc: '[EMAIL PROTECTED]'
Subject: RE: deleting control Characters...... Please help
Importance: Low


Debi,

Your use of the term "mainframe" conjures up the specter of some old
demons of mine. (Obviously, it's Halloween.)

There's a decent chance your mainframe data file is encoded in EBCDIC,
not ASCII. If so, what appear to be "some sort of control characters"
may turn out to be part of the data. I wouldn't remove anything from
your file until you are sure of its format.

Any chance you can post one or more portions of your data file? Failing
that, how about a hex dump of the data? You'll improve your chances of
getting assistance if we can see the data itself.

Cheers,
Kim

-----Original Message-----
From: Mohanty, Debi (MED, TCS) [mailto:Debi.Mohanty@;med.ge.com]
Sent: Thursday, October 31, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: deleting control Characters...... Please help


Hi,
        
        I have a data file (which I get from the Mainframe), which
contains some sort of control characters. Is there any way where by I
can clean the file with perl. When I tried to copy those characters on
the file it shows me a message saying 
"cannot cut, copy or drag and drop text containing null (code=0)
characters". Is there any way I can clean these characters from the file
by using perl.

Thanks&Regards
Debi
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to