- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 24 Feb 2011 18:24:04 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1622:d6c8490cbe6c tag: tip user: Thomas Gambet <tgambet@w3.org> date: Thu Feb 24 13:23:58 2011 -0500 files: src/org/w3c/unicorn/output/MailOutputModule.java description: ~ fixed charset issue? diff -r 72ddd30fd11c -r d6c8490cbe6c src/org/w3c/unicorn/output/MailOutputModule.java --- a/src/org/w3c/unicorn/output/MailOutputModule.java Thu Feb 24 13:21:34 2011 -0500 +++ b/src/org/w3c/unicorn/output/MailOutputModule.java Thu Feb 24 13:23:58 2011 -0500 @@ -135,7 +135,7 @@ outputFormater.produceOutput(mapOfStringObject, outputStreamWriter); outputStreamWriter.close(); byteArrayOutputStream.close(); - bodyPart.setContent(byteArrayOutputStream.toString(), outputFormater.getMimeType()); + bodyPart.setContent(byteArrayOutputStream.toString("UTF-8"), outputFormater.getMimeType()); bodyPart.setHeader("Content-Type", outputFormater.getMimeType() + "; charset=UTF-8"); bodyPart.setHeader("Content-Transfer-Encoding", "8bit"); mp.addBodyPart(bodyPart);
Received on Thursday, 24 February 2011 18:24:06 UTC