Minor change to standardize on more canonical "UTF8" name for encoding in Java

git-svn-id: https://zxing.googlecode.com/svn/trunk@483 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-06-26 20:02:30 +00:00
parent 011e6e9cee
commit a5060f9338

View file

@ -229,8 +229,8 @@ public final class DecodeServlet extends HttpServlet {
if (request.getParameter("full") == null) { if (request.getParameter("full") == null) {
response.setContentType("text/plain"); response.setContentType("text/plain");
response.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF8");
Writer out = new OutputStreamWriter(response.getOutputStream(), "UTF-8"); Writer out = new OutputStreamWriter(response.getOutputStream(), "UTF8");
try { try {
out.write(result.getText()); out.write(result.getText());
} finally { } finally {