]> sipb.mit.edu Git - ikiwiki.git/commitdiff
(no commit message)
authorhttp://madduck.net/ <http://madduck.net/@web>
Mon, 9 Mar 2009 15:21:36 +0000 (11:21 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 9 Mar 2009 15:21:36 +0000 (11:21 -0400)
doc/bugs/Git:_web_commit_message_not_utf-8.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/Git:_web_commit_message_not_utf-8.mdwn b/doc/bugs/Git:_web_commit_message_not_utf-8.mdwn
new file mode 100644 (file)
index 0000000..71ccff3
--- /dev/null
@@ -0,0 +1,13 @@
+The message generated for web commits:
+
+> web commit by madduck
+
+is not utf-8 encoded before passed to Git (which uses utf-8 as default encoding for commit messages). This causes a wrongly-encoded log entry, and makes ikiwiki spew warnings as it creates `recentchanges`:
+
+    utf8 "\xF6" does not map to Unicode at /usr/share/perl5/IkiWiki/Rcs/git.pm line 36, <$OUT> line 57.
+    Malformed UTF-8 character (unexpected non-continuation byte 0x6e, immediately after start byte 0xf6) in pattern match (m//) at /usr/share/perl5/IkiWiki/Rcs/git.pm line 393.
+    utf8 "\xF6" does not map to Unicode at /usr/share/perl5/IkiWiki/Rcs/git.pm line 36, <$OUT> line 5.
+
+(This is version 2.53.3~bpo40+1 for lack of a newer backport for sarge)
+
+Please make sure that commit messages for Git are always utf-8.