From a1a305735072f66fc48de018d187ded085ecf89b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 16 Mar 2013 11:50:58 +0000 Subject: own UTF8Encode removed. now use core encoding. git-svn-id: http://svn.miranda-ng.org/main/trunk@4064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/ChatHTMLBuilder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/IEView/src/ChatHTMLBuilder.cpp') diff --git a/plugins/IEView/src/ChatHTMLBuilder.cpp b/plugins/IEView/src/ChatHTMLBuilder.cpp index 8eedfa1ef1..636f070464 100644 --- a/plugins/IEView/src/ChatHTMLBuilder.cpp +++ b/plugins/IEView/src/ChatHTMLBuilder.cpp @@ -87,7 +87,9 @@ char *ChatHTMLBuilder::timestampToString(time_t time) char *pszStamp = "[%H:%M]"; //InitSetting( &g_Settings.pszTimeStamp, "HeaderTime", _T("[%H:%M]")); strftime(str, 79, pszStamp, localtime(&time)); - Utils::UTF8Encode(str, szResult, 500); + char *tmp = mir_utf8encode(str); + lstrcpynA(szResult, tmp, 500); + mir_free(tmp); return szResult; } -- cgit v1.2.3