cnd
cnd

Reputation: 33714

UTF-8 on old MFC project converted to newer MFC

So project is Multi-byte by design. Recode full project to Unicode is to big work :(

So how can I use UTF-8 on my dialogs ? I've got this : enter image description here

Upvotes: 0

Views: 209

Answers (1)

young
young

Reputation: 2181

You can try to use MultiByteToWideChar with UTF8 code page. But, since I'm not sure how you pass ??? texts to the dialog, this might not be a solution. Similarly, if you try to pass UTF8 string to where MultiByte expected, you can try WideCharToMultiByte with UTF8 code page.

Upvotes: 1

Related Questions