Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Set error message encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusTrafi committed Nov 24, 2021
1 parent c76d72b commit 2809dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gpasas/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static void main(String[] args) {
ctx.result(pkPass);
} catch (Exception e) {
ctx.status(500);
ctx.contentType("text/plain");
ctx.contentType("text/plain; charset=utf-8");
ctx.result("Atsiprašome, kažkas įvyko ne taip. Patikrinkite ar įkėlėte teisingą failą. iOS įrenginiuose rekomenduojame naudoti Safari naršyklę.");
}
});
Expand Down

0 comments on commit 2809dcb

Please sign in to comment.