Maxim,
Printable text is a good start. Suggestions on how to remove the null
characters would be appreciated. Ultimately, I would also like to be able
to modify the file as well.
TIA,
Jamie
-----Original Message-----
From: Maxim Berlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 10:18 AM
To: '[EMAIL PROTECTED]'
Subject: Re: Read a .reg file?
Hello jamie,
Tuesday, June 26, 2001, FIEDRICH,JAMIE (HP-USA,ex1) <[EMAIL PROTECTED]>
wrote:
FJHUe> I have a registry export (.reg) from NT that I would like to read via
a perl
FJHUe> script. When I create a file handle and print the file to STDOUT the
data
FJHUe> is mucked up. I've tried to read the data as binary vs. character,
buy that
FJHUe> didn't seem to get me anywhere. I've also tried to approach this as
FJHUe> unicode, but that also flopped.
NT .reg files was in unicode, yes. what module do you use to approach
.reg in unicode?
FJHUe> Any ideas/suggestions out there?
quick (and dirty) way to print this - just remove all null (0) characters
from file after reading, and you should have printable text. but what
do you exactly need?
Best wishes,
Maxim mailto:[EMAIL PROTECTED]