Skip to content

Commit e355979

Browse files
committed
Ensure encoding
1 parent aa5a3ea commit e355979

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

web/src/main/java/com/github/oeuvres/alix/web/AlixServlet.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ protected void doGet(
122122
final HttpServletResponse response
123123
) throws IOException {
124124
response.setHeader("Access-Control-Allow-Origin", "*");
125+
response.setCharacterEncoding("UTF-8");
125126

126127
final String pathInfo = pathInfo(request);
127128
final String[] segments = pathInfo.split("/");

0 commit comments

Comments
 (0)