summaryrefslogtreecommitdiff
path: root/doc/bugs/Git:_web_commit_message_not_utf-8.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-27 15:09:41 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-27 15:09:41 -0400
commit825e2b1378b1def4980e36642ed84999599eb017 (patch)
tree8c5225715c9cf7a3405dbc679f124f74ca9983e7 /doc/bugs/Git:_web_commit_message_not_utf-8.mdwn
parentf4a1732b0e65ea4459098e4e852dff10a5af9320 (diff)
parentc8237b4351f6023b3d3a661df2568c6d7488b8cf (diff)
Merge branch 'master' into po
Conflicts: debian/control
Diffstat (limited to 'doc/bugs/Git:_web_commit_message_not_utf-8.mdwn')
-rw-r--r--doc/bugs/Git:_web_commit_message_not_utf-8.mdwn17
1 files changed, 17 insertions, 0 deletions
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
index 000000000..08247dded
--- /dev/null
+++ b/doc/bugs/Git:_web_commit_message_not_utf-8.mdwn
@@ -0,0 +1,17 @@
+The message generated for web commits:
+
+> web commit by mädduck
+
+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.
+
+This is a change by user `mädduck` to trigger the error.
+
+> [[Fixed|done]] both on the commit and log sides. --[[Joey]]