in reply to Wide character - memGzip

memGzip only supports binary data / single-byte characters. You probably should wrap the zip/unzip in encode/decode calls:

use Encode qw(encode decode); my $zipped = memGzip(encode("utf8",$string)); my $unzipped = decode("utf8",memGunzip($zipped));

Replies are listed 'Best First'.
Re^2: Wide character - memGzip
by horrendo (Sexton) on Aug 10, 2008 at 23:04 UTC
    That did it. Thanks very much.