# HG changeset patch # User robcast # Date 1487004917 -3600 # Node ID 290f35ca4cdaccdc7aab66e68cfa637fecf5b10a # Parent 4326b99b471ff081aba4fbf6421dd35ad7e847f0 fix missing encoding of /api/ pages. diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/ImgInfo-json.jsp --- a/webapp/src/main/webapp/api/ImgInfo-json.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/ImgInfo-json.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -37,7 +37,7 @@ System.out.println(e); } } -%><% +%><%@ page contentType="application/json" pageEncoding="UTF-8" %><% // parsing the query docBean.setRequest(request); // get file diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/dirInfo-json.jsp --- a/webapp/src/main/webapp/api/dirInfo-json.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/dirInfo-json.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -40,7 +40,7 @@ System.out.println(e); } } -%><%@ page contentType="application/json" %><% +%><%@ page contentType="application/json" pageEncoding="UTF-8" %><% // process request docBean.setRequest(request); // get directory diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/dirInfo-xml.jsp --- a/webapp/src/main/webapp/api/dirInfo-xml.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/dirInfo-xml.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -40,7 +40,7 @@ System.out.println(e); } } -%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ page contentType="text/xml" %> +%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ page contentType="text/xml" pageEncoding="UTF-8"%> <% // process request docBean.setRequest(request); diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/dlContext-xml.jsp --- a/webapp/src/main/webapp/api/dlContext-xml.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/dlContext-xml.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -38,7 +38,7 @@ System.out.println(e); } } -%> +%><%@ page contentType="text/xml" pageEncoding="UTF-8"%> <% // process request // get digilib config diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/dlInfo-json.jsp --- a/webapp/src/main/webapp/api/dlInfo-json.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/dlInfo-json.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -34,7 +34,7 @@ System.out.println(e); } } -%><% +%><%@ page contentType="application/json" pageEncoding="UTF-8" %><% // parsing the query DigilibServletRequest dlRequest = new DigilibServletRequest(request); docBean.setRequest(dlRequest); diff -r 4326b99b471f -r 290f35ca4cda webapp/src/main/webapp/api/dlInfo-xml.jsp --- a/webapp/src/main/webapp/api/dlInfo-xml.jsp Mon Feb 13 17:54:46 2017 +0100 +++ b/webapp/src/main/webapp/api/dlInfo-xml.jsp Mon Feb 13 17:55:17 2017 +0100 @@ -34,7 +34,7 @@ System.out.println(e); } } -%> +%><%@ page contentType="text/xml" pageEncoding="UTF-8"%> <% // process request // parsing the query