So I have several .jsp files:
one of the files has the head tag and has the title of the page:
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${param.title}</title>
</head>
The other files include the first one and pass to it a param using jsp:param:
<%@ page pageEncoding="UTF-8"%>
<jsp:include page="consoleheader.jsp">
<jsp:param name="title" value="Título"/>
</jsp:include>
<body>
...
</body>
</html>
Any non-ASCII characters that I pass using jsp:param are getting garbled when I do this (the í in Título for instance). Everywhere else it works fine. All jsp files are encoded using UTF-8. I have not set any charset configurations on my JVM. Anyone knows how to fix this without setting the JVM encoding by hand?