From 6d44cfa7fc3881e7cdfadd6d222f8453a87c64eb Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 15 Nov 2009 15:46:57 +0000 Subject: [PATCH] assume log strings are utf-8, as they may contain dict letters --- xwords4/wince/cedebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/wince/cedebug.c b/xwords4/wince/cedebug.c index f9be4fc22..088cabcd8 100644 --- a/xwords4/wince/cedebug.c +++ b/xwords4/wince/cedebug.c @@ -101,7 +101,7 @@ void XP_LOGW( const XP_UCHAR* prefix, const wchar_t* arg ) { XP_UCHAR buf[512]; - (void)WideCharToMultiByte( CP_ACP, 0, arg, -1, + (void)WideCharToMultiByte( CP_UTF8, 0, arg, -1, buf, sizeof(buf), NULL, NULL ); XP_LOGF( "%s: %s", prefix, buf ); }