Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Commit ee18ad5

Browse files
committed
Force to UTF8 encoding at startup
Fixes BotBotMe/botbot-bot#37
1 parent 1aad88d commit ee18ad5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.env.example

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ REDIS_PLUGIN_STORAGE_URL=redis://localhost:6379/0
99
REDIS_PLUGIN_QUEUE_URL=redis://localhost:6379/1
1010
PUSH_STREAM_URL=http://localhost:8080/pub/?id={id}
1111

12+
# Set encoding if the system hasn't done it properly
13+
LANG=en_US.UTF-8
14+
PYTHONIOENCODING=utf8
15+
1216
# Optional
1317
# MEMCACHE_URL=127.0.0.1:11211
1418
# STATIC_ROOT=/var/www/botbot/static

0 commit comments

Comments
 (0)