jetty-project/jetty-eventsource-servlet — pull request #1 by marschall (2012-03-24 19:07:34+00:00)
Title: Set the response encoding to UTF-8

The EventSource specification requires that the response is always
utf-8. However the servlet specification requires the default response
encoding to be ISO-8859-1.

Unfortunately ServletOutputStream.println(String) completely ignores
what was passed to ServletResponse.setCharacterEncoding(String). I'm
not sure whether this is a violation of the servlet specifiction
section 5.4 cause by
org.eclipse.jetty.server.AbstractHttpConnection.Output.print(String)
passing null as an encoding or caused by EventSourceServlet using the
worng API.

- set the response encoding to utf-8
- add a test for non-latin-1 characters