You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by sg...@apache.org on 2005/09/13 12:19:26 UTC

svn commit: r280533 - /portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java

Author: sgala
Date: Tue Sep 13 03:19:20 2005
New Revision: 280533

URL: http://svn.apache.org/viewcvs?rev=280533&view=rev
Log:
We are bound t oservlet 2.3 for the moment

Modified:
    portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java

Modified: portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java?rev=280533&r1=280532&r2=280533&view=diff
==============================================================================
--- portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java (original)
+++ portals/jetspeed-2/branches/SummersOfCode-2005/components/portal/src/java/org/apache/jetspeed/ajax/responseGenerator.java Tue Sep 13 03:19:20 2005
@@ -133,8 +133,8 @@
         String line;
         
         response.setContentType("text/xml");
-        response.setCharacterEncoding("UTF-8");
-        PrintWriter out = response.getWriter();
+        //response.setCharacterEncoding("UTF-8");
+        PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), "UTF-8"));
         
         out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
         out.println("<ajax-response>");



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org