diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlobQ5j7hQVIGkwMWW3yKB_DWqthJcpnsQ <Qi@web> | 2015-01-29 16:01:14 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-01-29 16:01:14 -0400 |
commit | a1e106359191de2ef52529e34cfa505e424c0195 (patch) | |
tree | 01020956a783b83c1d2e79c5a8e4a2d2071440b1 | |
parent | a7a3276881a7279b78d2659cb083e2a31ab57ce7 (diff) | |
download | ikiwiki-a1e106359191de2ef52529e34cfa505e424c0195.tar ikiwiki-a1e106359191de2ef52529e34cfa505e424c0195.tar.gz |
Added a comment: Additional advice?
-rw-r--r-- | doc/forum/Build_time_error:_Cannot_decode_string_with_wide_characters_/comment_2_10b12514d3929ed00f452d072a215c78._comment | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/forum/Build_time_error:_Cannot_decode_string_with_wide_characters_/comment_2_10b12514d3929ed00f452d072a215c78._comment b/doc/forum/Build_time_error:_Cannot_decode_string_with_wide_characters_/comment_2_10b12514d3929ed00f452d072a215c78._comment new file mode 100644 index 000000000..e2b14adb3 --- /dev/null +++ b/doc/forum/Build_time_error:_Cannot_decode_string_with_wide_characters_/comment_2_10b12514d3929ed00f452d072a215c78._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlobQ5j7hQVIGkwMWW3yKB_DWqthJcpnsQ" + nickname="Qi" + subject="Additional advice?" + date="2015-01-29T20:01:14Z" + content=""" +I manually modified `/lib/perl5/vendor_perl/5.20.0/IkiWiki/CGI.pm` removing the three lines + + # call decode_utf8 on >= 5.20 only if it's not already decoded, + # otherwise it balks, on < 5.20, always call it + if ($] < 5.02 || !Encode::is_utf8($octets)) { + +and adding a new line + + if (!Encode::is_utf8($octets)) { + +Then I ran `ikiwiki --setup mysite.setup` and see the following messages: + + ... + Aborting + 'git pull --prune origin' failed: at /usr/pkg/lib/perl5/vendor_perl/5.20.0/IkiWiki/Plugin/git.pm line 220. + Cannot decode string with wide characters at /usr/pkg/lib/perl5/5.20.0/darwin-thread-multi-2level/Encode.pm line 175. + +Any ideas? +"""]] |