Setting up URL encoding.

This commit is contained in:
amontano 2009-03-11 01:57:09 +00:00
parent 5a0e454a2e
commit 6c19b1e0b9
2 changed files with 2 additions and 0 deletions

View file

@ -80,6 +80,7 @@ public class OnLineScannerFilter extends HttpServlet
try try
{ {
request.setCharacterEncoding("UTF8"); request.setCharacterEncoding("UTF8");
response.setCharacterEncoding("UTF8");
} }
catch(Exception e) catch(Exception e)
{ {

View file

@ -68,6 +68,7 @@ public class RemoteScannerFilter extends GenericServlet
try try
{ {
req.setCharacterEncoding("UTF8"); req.setCharacterEncoding("UTF8");
res.setCharacterEncoding("UTF8");
} }
catch(Exception e) catch(Exception e)
{ {