use warnings;
use strict;
+use Encode;
use IkiWiki 2.00;
sub import { #{{{
foreach my $line (@text_lines) {
$l++;
if ($csv->parse($line)) {
- push(@data, [ $csv->fields() ]);
+ push(@data, [ map { decode_utf8 $_ } $csv->fields() ]);
}
else {
debug(sprintf(gettext('parse fail at line %d: %s'),
* Correct generation of RFC 3339 format times for atom/rss feeds. Always use
gmtime for these since a time zone is not specified.
* Updated Spanish translation from Victor Moral.
+ * table: Text::CSV doesn't return decoded unicode (XS module); decode its
+ return values.
- -- Joey Hess <joeyh@debian.org> Tue, 04 Sep 2007 13:30:32 -0400
+ -- Joey Hess <joeyh@debian.org> Tue, 04 Sep 2007 15:19:18 -0400
ikiwiki (2.6.1) unstable; urgency=low