diff options
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/src/commands/lua.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/src/commands/lua.hpp b/bot/src/commands/lua.hpp index 422f79e..2516bab 100644 --- a/bot/src/commands/lua.hpp +++ b/bot/src/commands/lua.hpp @@ -114,7 +114,9 @@ namespace bot::command::lua { std::string url = request.message.value(); - std::vector<std::string> mimeTypes = {"text/plain", "text/x-lua"}; + std::vector<std::string> mimeTypes = {"text/plain", "text/x-lua", + "text/plain; charset=utf-8", + "text/x-lua; charset=utf-8"}; cpr::Response response = cpr::Get( cpr::Url{url}, |
