Changeset 1333

Show
Ignore:
Timestamp:
08/16/06 16:55:18
Author:
miyagawa
Message:

added Unicode tests. use XML::Atom's ForceUnicode? in Aggregator::Simple

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm

    r1330 r1333  
    9696    } 
    9797 
     98    local $XML::Atom::ForceUnicode = 1; 
    9899    my $remote = eval { XML::Feed->parse(\$args->{content}) }; 
    99100 
     
    138139            my @categories = $e->{entry}->categories; 
    139140            for my $cat (@categories) { 
    140                 $entry->add_tag( $cat->label || $cat->term ); 
     141                $entry->add_tag( _u($cat->label || $cat->term) ); 
    141142            } 
    142143        } 
  • trunk/plagger/t/TestPlagger.pm

    r1326 r1333  
    7979    } 
    8080 
    81     while (my($mod, $ver) = each %{$meta->{depends}}) { 
     81    while (my($mod, $ver) = each %{$meta->{depends} || {}}) { 
    8282        test_requires($mod, $ver); 
    8383    }