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:
parent
bdfe645aa3
commit
9027f73a3c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue