Unicode DialogBox WINAPI

Hi!

I use C::B with MInGW,

I define UNICODE and _UNICODE and use <tchar.h> in resource.h
I use #include "resource.h" in resource.rc

in main.cpp (UTF-8 encoding) i use _T("some text") with wide chars and everything is ok

if I create dialog in resource.rc (UTF-8 encoding) my label not accept wide chars (shows letters like 3 or two letters per one wild letter)

if I change encoding to window-1250 on resource.rc SOME (NOT ALL) wild letters is viewed OK

If I change encoding to UTF-16 compiler have many errors.

What to do?? I want to save struct with unicode to file, but I don't have unicode?

I want to compile with C::B, with WINAPI no MFC.

PS. For save file I must use text or binary flag??

Anybody can help?
Topic archived. No new replies allowed.