Skip to content

Commit

Permalink
Assume Pod 6 is in UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Jul 30, 2009
1 parent 5b818a6 commit 4c37cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
0.19
- Added dependency on Pod::Parser 1.36, because earlier versions
don't recognize =encoding
- Assume Pod 6 is UTF-8 encoded

0.18_02 Sun Jul 26 13:37:21 GMT 2009
- Forgot Pod::Parser
Expand Down
1 change: 1 addition & 0 deletions lib/App/Grok/Parser/Pod6.pm
Expand Up @@ -32,6 +32,7 @@ sub render_string {
my ($self, $string, $format) = @_;

open my $handle, '<', \$string or die "Can't open input filehandle: $!";
binmode $handle, ':utf8';
my $result = $self->render_file($handle, $format);
close $handle;
return $result;
Expand Down

0 comments on commit 4c37cca

Please sign in to comment.