M
m
redhat 7.2, perl 5.6.1
am trying to extract filenames from Nero .nri file, which has quite a
bit of extra, strange characters. the desired filename is readable
when viewed in wordpad/notepad and the extra junk is a mix of
a-zA-Z0-9 interspersed with boxes (the type that notepad uses when it
doesn't have that character). pico doesn't much like it--won't
display anything. less can display it but the strange characters all
show up as ^@ or ^A or <95>, etc..
anytime i try to open the source .nri file with a perl script, it
outputs all sorts of crazy talk and changes my prompt's characters to
crazy characters, instead of being the normal [user@server dir]. i
have to exit my ssh connection and re-login to return the prompt to
readable text.
1) what is happening to my server when i use perl to access this file?
how can i set it back to human readable w/o logging off?
2) is there a way to tell perl to skip these strange characters (i
don't need whatever data they represent), conert the file--though from
what i am not sure--to utf-8 or the likes, insert some
babelfish::whatchu_talkin_bout module...?
many thanks,
matt
am trying to extract filenames from Nero .nri file, which has quite a
bit of extra, strange characters. the desired filename is readable
when viewed in wordpad/notepad and the extra junk is a mix of
a-zA-Z0-9 interspersed with boxes (the type that notepad uses when it
doesn't have that character). pico doesn't much like it--won't
display anything. less can display it but the strange characters all
show up as ^@ or ^A or <95>, etc..
anytime i try to open the source .nri file with a perl script, it
outputs all sorts of crazy talk and changes my prompt's characters to
crazy characters, instead of being the normal [user@server dir]. i
have to exit my ssh connection and re-login to return the prompt to
readable text.
1) what is happening to my server when i use perl to access this file?
how can i set it back to human readable w/o logging off?
2) is there a way to tell perl to skip these strange characters (i
don't need whatever data they represent), conert the file--though from
what i am not sure--to utf-8 or the likes, insert some
babelfish::whatchu_talkin_bout module...?
many thanks,
matt