X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f4da5a9902117a33619aa83269f53679eb674485..28c3e5482d7431b7554e6288bb2f9f55fbd274ed:/doc/forum/Cannot_run_ikiwiki_due_to_Encode.pm/comment_1_3be380ae32e9e6f65d47975827950050._comment?ds=inline diff --git a/doc/forum/Cannot_run_ikiwiki_due_to_Encode.pm/comment_1_3be380ae32e9e6f65d47975827950050._comment b/doc/forum/Cannot_run_ikiwiki_due_to_Encode.pm/comment_1_3be380ae32e9e6f65d47975827950050._comment index 752141c67..7d8a1a771 100644 --- a/doc/forum/Cannot_run_ikiwiki_due_to_Encode.pm/comment_1_3be380ae32e9e6f65d47975827950050._comment +++ b/doc/forum/Cannot_run_ikiwiki_due_to_Encode.pm/comment_1_3be380ae32e9e6f65d47975827950050._comment @@ -5,11 +5,12 @@ date="2015-02-25T05:43:26Z" content=""" I fixed it by adding -``` + +~~~ sub decode($$;$) { my ( $name, $octets, $check ) = @_; return undef unless defined $octets; return $octets if Encode::is_utf8($octets); # add this check $octets .= ''; -``` +~~~ """]]