From coverity: more encoding fixes

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2273 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-03-18 23:35:45 +00:00
parent bdfe645aa3
commit 9027f73a3c
1 changed files with 1 additions and 1 deletions

View File

@ -2552,7 +2552,7 @@ public abstract class ExchangeSession {
protected void fixICS(byte[] icsContent, boolean fromServer) throws IOException { protected void fixICS(byte[] icsContent, boolean fromServer) throws IOException {
if (LOGGER.isDebugEnabled() && fromServer) { if (LOGGER.isDebugEnabled() && fromServer) {
dumpIndex++; dumpIndex++;
String icsBody = new String(icsContent); String icsBody = new String(icsContent, "UTF-8");
dumpICS(icsBody, fromServer, false); dumpICS(icsBody, fromServer, false);
LOGGER.debug("Vcalendar body received from server:\n" + icsBody); LOGGER.debug("Vcalendar body received from server:\n" + icsBody);
} }