From 70b7e80937808905a0b7c1810698216688efaca6 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 25 Sep 2014 15:42:24 +0300 Subject: [PATCH] use/supybot-botchk: fix OS X compatibility There are also people using Supybot on OS X and it requires the locale to be xx_XX.UTF-8. According to @nyuszika7h, this also works on Linux. --- use/supybot-botchk.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/use/supybot-botchk.rst b/use/supybot-botchk.rst index 31877ec..5fb375b 100644 --- a/use/supybot-botchk.rst +++ b/use/supybot-botchk.rst @@ -37,8 +37,9 @@ which happens by adding the following lines:: # Replace en_US.utf8 with your own locale! You should see list of # available locales with `locale` command, just use something which - # ends with "utf8". - LC_ALL=en_US.utf8 + # ends with "utf8" or "UTF-8" (the latter is required on some operating + # systems like OS X). + LC_ALL=en_US.UTF-8 # Specifying timezone is optional, but you probably want to do it if # your system is on different timezone. Replace ``UTC`` with @@ -57,7 +58,7 @@ If you needed to use diferent environment for other bot, you could specify that on the same line. For example, my other bot uses en_US.utf8 as locale and UTC as timezone:: - */5 * * * * LC_ALL=en_US.utf8 TZ=UTC supybot-botchk --botdir=/home/// --pidfile=/home///.pid --conffile=/home///.conf + */5 * * * * LC_ALL=en_US.UTF-8 TZ=UTC supybot-botchk --botdir=/home/// --pidfile=/home///.pid --conffile=/home///.conf Note that environment doesn't need to be specified on supybot-botchk line unless it differs from globally specified environment which we added as the