X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/cdf88c88216c75051e2e3cfc7844da4611e7c89b..6817824841b5f842557483adf16e7f35e17f7bb6:/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn diff --git a/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn b/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn index e754868cc..c57c20065 100644 --- a/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn +++ b/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn @@ -19,3 +19,12 @@ If I then edit the blog post, **then** the file gets commited and I can see the >>you will consider this behavior a bug, since it's strictly speaking a misconfiguration but it >>still causes ikiwiki's mercurial backend to fail. A quick note in the docs might be a good idea. For my part, please >>close this bug, and thanks for the help. --[[buo]] + +>>> 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?