--- branches/tehnika/parse_format.pm 2004/03/12 15:33:13 264 +++ branches/tehnika/parse_format.pm 2004/04/04 22:11:13 303 @@ -163,7 +163,7 @@ 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 @@ } 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 = ""; }