make the character handling better for spanish?
[spider.git] / perl / DXUtil.pm
index 6cf35b2bd77e3a398d652ba7d3f2af98f8e77228..0942c69a0c0ed5aeeb66c33f9250744d9cb2adda 100644 (file)
@@ -346,7 +346,7 @@ sub is_callsign
 # check that a PC protocol field is valid text
 sub is_pctext
 {
-       return undef if $_[0] =~ /[\x00-\x08\x0a-\x1f\xf0-\xff]/;
+       return undef if $_[0] =~ /[\x00-\x08\x0a-\x1f\x80-\x9f]/;
        return $_[0];
 }