Minor change to standardize on more canonical "UTF8" name for encoding in Java
[zxing.git] / zxingorg / src / com / google / zxing / web / DecodeServlet.java
index 6a67be7..e60536c 100644 (file)
@@ -229,8 +229,8 @@ public final class DecodeServlet extends HttpServlet {
 
     if (request.getParameter("full") == null) {
       response.setContentType("text/plain");
-      response.setCharacterEncoding("UTF-8");
-      Writer out = new OutputStreamWriter(response.getOutputStream(), "UTF-8");
+      response.setCharacterEncoding("UTF8");
+      Writer out = new OutputStreamWriter(response.getOutputStream(), "UTF8");
       try {
         out.write(result.getText());
       } finally {