web commit by buo: locales and mercurial

master
Joey Hess 2008-03-25 16:11:34 -04:00
parent a2c88e0690
commit 48bf7dc458
1 changed files with 6 additions and 0 deletions

View 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?