topkecleon / telegram-bot-bash

Telegram bot written in bash
Other
431 stars 123 forks source link

warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) #163

Closed jonashaag closed 3 years ago

jonashaag commented 3 years ago

I get this when running bashbot:

bashbot.sh: line 62: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

I'm on Manjaro Linux

gnadelwartz commented 3 years ago

looks like you have not installed/activated "most universal" c.UTF-8 locale on your system, change it to your prefered existing locale or activate c.utf-8:

https://wiki.manjaro.org/index.php?title=Locale

gnadelwartz commented 3 years ago

in addtion I'll add a warning about non existing C locale and rederict the error message

gnadelwartz commented 3 years ago

done: https://github.com/topkecleon/telegram-bot-bash/commit/10c104d471ad0cea9ef35f33407172d081fd505e