Browse files

Assume Pod 6 is in UTF-8

  • Loading branch information...
1 parent 5b818a6 commit 4c37cca73b3647e70cf9edc47c9d6b66eec2f3f9 @hinrik committed Jul 30, 2009
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 lib/App/Grok/Parser/Pod6.pm
View
1 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
View
1 lib/App/Grok/Parser/Pod6.pm
@@ -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;

0 comments on commit 4c37cca

Please sign in to comment.