Permalink
Browse files

Use :encoding(UTF-8) instead of :utf8

  • Loading branch information...
1 parent 2acc4f5 commit eb9de8d975d48c048bed6f2e11edfc243b3f00a2 @autarch autarch committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/VegGuide/RSSWriter.pm
@@ -24,7 +24,7 @@ sub new {
my $fh = File::Temp->new();
# shuts up "wide character in print" warnings
- binmode $fh, ':utf8';
+ binmode $fh, ':encoding(UTF-8)';
my $w = XML::SAX::Writer->new( Output => $fh );
my $g = XML::Generator::RSS10->new(

0 comments on commit eb9de8d

Please sign in to comment.