From d5baf212f45c3926ffec3bccad77ca4dd0751d23 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 21 Oct 2010 05:34:01 +0300 Subject: using utf8<->utf16 on poor c++ instead of miranda api (can solve some issues with badly encoded messages, testing needed) --- log.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'log.cpp') diff --git a/log.cpp b/log.cpp index d4d65a7..a7395e6 100644 --- a/log.cpp +++ b/log.cpp @@ -22,12 +22,10 @@ logtofile& logtofile::operator<<(TCHAR *buf) if(bDebugLog) { log_mutex.lock(); - char *tmp = mir_utf8encodeW(buf); log.open(path, std::ios::app |std::ios::ate); - log<