home · contact · privacy
Fix encoding bug.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 14:00:33 +0000 (15:00 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 14:00:33 +0000 (15:00 +0100)
all_new_2018/user_scripts/plomlombot_daemon.sh

index 4831b3ce0cc9b83880eef5998c880a444f5159c1..a74c24b29f6c79939a8092ae487730f070e956ac 100755 (executable)
@@ -31,7 +31,7 @@ while true; do
                 set -e
                 if [ "${start_screen}" -eq "1" ]; then
                 cd ~/plomlombot-irc
-                screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -s "${server_name}" "${channel_name}"
+                LANG="en_US.UTF-8" screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -s "${server_name}" "${channel_name}"
                 fi
                 md5_server=$(echo -n "${server_name}" | md5sum | cut -d' ' -f1)
                 md5_channel=$(echo -n "${channel_name}" | md5sum | cut -d' ' -f1)