Fix character set for GData docs - fixes #1003

This commit is contained in:
Tom Morris 2015-05-15 15:54:09 -04:00
parent 4665a87084
commit 508fa6efc3

View File

@ -95,6 +95,7 @@ public class GDataImportingController implements ImportingController {
public void doPost(HttpServletRequest request, HttpServletResponse response) public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException { throws ServletException, IOException {
response.setCharacterEncoding("UTF-8");
Properties parameters = ParsingUtilities.parseUrlParameters(request); Properties parameters = ParsingUtilities.parseUrlParameters(request);
String subCommand = parameters.getProperty("subCommand"); String subCommand = parameters.getProperty("subCommand");
if ("list-documents".equals(subCommand)) { if ("list-documents".equals(subCommand)) {