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) --- utilities.cpp | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'utilities.cpp') diff --git a/utilities.cpp b/utilities.cpp index 8ebe6f0..02ff474 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -542,9 +542,7 @@ static JABBER_HANDLER_FUNC SendHandler(IJabberInterface *ji, HXML node, void *pU path_out += _T("\\prescense_text"); DeleteFile(path_out.c_str()); wfstream f(path_out.c_str(), std::ios::out); - char *tmp = mir_utf8encodeW(str); - f<