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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utilities.h') diff --git a/utilities.h b/utilities.h index a79221a..431c567 100644 --- a/utilities.h +++ b/utilities.h @@ -29,5 +29,7 @@ void HistoryLog(HANDLE hContact, char *data, int event_type, int flags); int ComboBoxAddStringUtf(HWND hCombo, const TCHAR *szString, DWORD data); bool isContactSecured(HANDLE hContact); const bool StriStr(const char *str, const char *substr); +string toUTF8(wstring str); +wstring toUTF16(string str); #endif -- cgit v1.2.3