in reply to Remove Double Spacing

Are you sure it's really double-spaced not UTF16?

To open UTF16 in Perl5.8

use Enocde; open my $fh, '<:encoding(utf16)', 'somefile' or die $!;
Update: Sorry, I'd missed the fact that theorbtwo had already given a better answer along the same lines.

Replies are listed 'Best First'.
Re^2: Remove Double Spacing
by dbrock (Sexton) on Jan 31, 2005 at 20:16 UTC
    The origional Document is UTF16 I started with a UTF16 .XML file I'm trying to Strip out all of the XML tags and parse the text using regex expressions... DBrock...