make the character handling better for spanish?
[spider.git] / perl / DXMsg.pm
index 8db35b9df78c29c1721d549084ac77f8e5b2a458..17e961769eb9e6bce882e79c01f8caffc9e0db78 100644 (file)
@@ -518,7 +518,7 @@ sub store
                        my $line;
                        $ref->{size} = 0;
                        foreach $line (@{$lines}) {
-                               $line =~ s/[\x00-\x08\x0a-\x1f\xf0-\xff]/./g;
+                               $line =~ s/[\x00-\x08\x0a-\x1f\x80-\x9f]/./g;
                                $ref->{size} += (length $line) + 1;
                                print $fh "$line\n";
                        }