aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorhttp://www.google.com/profiles/lingo.t.l.chen <http://www.google.com/profiles/lingo.t.l.chen@web>2010-01-08 14:55:58 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-01-08 14:55:58 +0000
commitdca9634202d9ab28c524068e17928f403ec03a2c (patch)
treefa7fbbd71821612f3c23af507fd4330aad4a3935 /doc/bugs
parent6257a714077712e818127ed0c68d9a9611d7628f (diff)
downloadikiwiki-dca9634202d9ab28c524068e17928f403ec03a2c.tar
ikiwiki-dca9634202d9ab28c524068e17928f403ec03a2c.tar.gz
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/utf-8_bug_in_websetup.pm.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/utf-8_bug_in_websetup.pm.mdwn b/doc/bugs/utf-8_bug_in_websetup.pm.mdwn
new file mode 100644
index 000000000..efa2c9ffe
--- /dev/null
+++ b/doc/bugs/utf-8_bug_in_websetup.pm.mdwn
@@ -0,0 +1,20 @@
+[[!tag patch]]
+
+I type chinese characters into the fields. After press "save setup" button the characters turn into gibberish.
+
+I submit a patch that solve the problem for me. --Lingo
+
+----
+
+ --- websetup.pm 2009-12-02 05:07:46.000000000 +0800
+ +++ /usr/share/perl5/IkiWiki/Plugin/websetup.pm 2010-01-08 22:05:16.000000000 +0800
+ @@ -308,7 +308,8 @@
+ $fields{$_}=$shown{$_} foreach keys %shown;
+ }
+ }
+ -
+ +
+ + IkiWiki::decode_form_utf8($form);
+ if ($form->submitted eq "Cancel") {
+ IkiWiki::redirect($cgi, $config{url});
+ return;