Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit eb9de8d975d48c048bed6f2e11edfc243b3f00a2 1 parent 2acc4f5
@autarch autarch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/VegGuide/RSSWriter.pm
View
2  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(
Please sign in to comment.
Something went wrong with that request. Please try again.