Skip to content

Commit 6224375

Browse files
committed
Maybe get the site fixed?
1 parent 9ff0ab9 commit 6224375

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/org/mangorage/mangobotsite/website/servlet/CommandsServlet.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
public final class CommandsServlet extends StandardHttpServlet {
1616
@Override
1717
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
18+
resp.setContentType("text/html; charset=UTF-8");
19+
resp.setCharacterEncoding("UTF-8");
20+
1821
final var plugin = PluginManager.getInstance().getPlugin("mangobot").getInstance(MangoBot.class);
1922
final var dispatcher = plugin.getCommandDispatcher();
2023
final var command = dispatcher.getCommand("trick").buildCommandParts();

0 commit comments

Comments
 (0)