From 4b7aa69c0b6aaf45c85dff3e529dafb38773aed4 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 14 Feb 2008 16:07:16 +0000 Subject: [PATCH] BF [ 1893828 ] Email should use same charset as ADempiere --- base/src/org/compiere/util/EMail.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/util/EMail.java b/base/src/org/compiere/util/EMail.java index a57598b8c1..a61ab9cbdd 100644 --- a/base/src/org/compiere/util/EMail.java +++ b/base/src/org/compiere/util/EMail.java @@ -774,7 +774,7 @@ public final class EMail implements Serializable throws MessagingException, IOException { // Local Character Set - String charSetName = System.getProperty("file.encoding"); // Cp1252 + String charSetName = Ini.getCharset().name(); if (charSetName == null || charSetName.length() == 0) charSetName = "iso-8859-1"; // WebEnv.ENCODING - alternative iso-8859-1 //