]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by buo: locales and mercurial
authorJoey Hess <joey@kitenet.net>
Tue, 25 Mar 2008 20:11:34 +0000 (16:11 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 25 Mar 2008 20:11:34 +0000 (16:11 -0400)
doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn

index 04fce53d742b624480f958b30f03ebe4a7fbab22..c57c200651dfd2ea21b113e0d7d8cbb9db86cc3d 100644 (file)
@@ -22,3 +22,9 @@ If I then edit the blog post, **then** the file gets commited and I can see the
 
 >>> So, in a non-utf8 locale, mercurial fails to commit if the commit
 >>> message contains utf8? --[[Joey]]
+
+>>>> (Sorry for the delay, I was AFK for a while.) What I am seeing is this: in a non-utf8 locale, using mercurial "stand-alone" (no ikiwiki involved), mercurial fails to commit if the commit message has characters such as รก. If the locale is utf8, mercurial works fine (this is with mercurial 1.0).
+
+>>>> However, the part that seems a bit wrong to me, is this: even if my locale is utf8, I have to explicitly set a utf8 locale in the wiki's setup file, or the commit fails. It looks like ikiwiki is not using this machine's default locale, which is utf8. Also, I'm not getting any errors on apache's error log.
+
+>>>> Wouldn't it make sense to use the machine's default locale if 'locale' is commented out in the setup file?