Fix various UTF-8 handling bugs; properly re-space month and day names.

This commit is contained in:
Dianne Skoll
2022-01-30 12:31:38 -05:00
parent 4c30db06c0
commit 835af9ad6a
7 changed files with 49 additions and 17 deletions
+2
View File
@@ -248,12 +248,14 @@ sub parse_input
return 0 unless $line;
chomp($line);
($Prevmon, $Prevlen) = split(' ', $line);
$Prevmon =~ s/_/ /g;
# Nextmon nextlen
$line = <STDIN>;
return 0 unless $line;
chomp($line);
($Nextmon, $Nextlen) = split(' ', $line);
$Nextmon =~ s/_/ /g;
$found_data = 1;
my $class;