From 88c92d6a06124134869497f2241c6f093c2e9b5a Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 20 Jul 2010 12:44:31 +0000 Subject: [PATCH] Force log file encoding to UTF-8 git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1224 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/Settings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/davmail/Settings.java b/src/java/davmail/Settings.java index af8dc136..2a7ca6f0 100644 --- a/src/java/davmail/Settings.java +++ b/src/java/davmail/Settings.java @@ -246,6 +246,7 @@ public final class Settings { fileAppender.setName("FileAppender"); fileAppender.setMaxBackupIndex(2); fileAppender.setMaxFileSize(logFileSize); + fileAppender.setEncoding("UTF-8"); fileAppender.setLayout(new PatternLayout("%d{ISO8601} %-5p [%t] %c %x - %m%n")); } fileAppender.setFile(logFilePath, true, false, 8192);