blob: 150ad0662efae5bc04e531da9b0824e5927c5476 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawlobQ5j7hQVIGkwMWW3yKB_DWqthJcpnsQ"
nickname="Qi"
subject="Additional advice?"
date="2015-01-29T20:07:11Z"
content="""
I manually modified `/usr/pkg/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?
"""]]
|