From 6c19b1e0b9c01f48a4187874891a752a1fd95d5a Mon Sep 17 00:00:00 2001 From: amontano Date: Wed, 11 Mar 2009 01:57:09 +0000 Subject: [PATCH] Setting up URL encoding. --- source/org/thdl/tib/scanner/OnLineScannerFilter.java | 1 + source/org/thdl/tib/scanner/RemoteScannerFilter.java | 1 + 2 files changed, 2 insertions(+) diff --git a/source/org/thdl/tib/scanner/OnLineScannerFilter.java b/source/org/thdl/tib/scanner/OnLineScannerFilter.java index 11740ad..c10779d 100644 --- a/source/org/thdl/tib/scanner/OnLineScannerFilter.java +++ b/source/org/thdl/tib/scanner/OnLineScannerFilter.java @@ -80,6 +80,7 @@ public class OnLineScannerFilter extends HttpServlet try { request.setCharacterEncoding("UTF8"); + response.setCharacterEncoding("UTF8"); } catch(Exception e) { diff --git a/source/org/thdl/tib/scanner/RemoteScannerFilter.java b/source/org/thdl/tib/scanner/RemoteScannerFilter.java index 78efceb..f07ff42 100644 --- a/source/org/thdl/tib/scanner/RemoteScannerFilter.java +++ b/source/org/thdl/tib/scanner/RemoteScannerFilter.java @@ -68,6 +68,7 @@ public class RemoteScannerFilter extends GenericServlet try { req.setCharacterEncoding("UTF8"); + res.setCharacterEncoding("UTF8"); } catch(Exception e) {