removed unneeded warning
[webpac] / parse_format.pm
index ca25b06..e5b23a6 100644 (file)
@@ -163,7 +163,7 @@ sub parse_iso_format {
                sub fld2str {
                        my ($func,$row,$f,$sf,$i) = @_;
 #print STDERR "## in fld2str\n";
-                       my $tmp = &$func($row,$f,$sf,$i) || '';
+                       my $tmp = $codepage->convert(&$func($row,$f,$sf,$i)) || '';
                        return "'$tmp'";
                }
 
@@ -224,7 +224,7 @@ sub parse_excel_format {
                } elsif ($format =~ s/^([^A-Z\|]+)(\|[A-Z]{1,2}\|)/$2/) {
                        $prefix .= $1 if ($display);
                } else {
-                       print STDERR "unparsed format: $format\n";
+                       #print STDERR "unparsed format: $format\n";
                        $prefix .= $format;
                        $format = "";
                }