Many Operating Systems such as Linux and FreeBSD already treats char
type as UTF-8, but Windows still treats it as old MBCS. With MBCS, we cannot handle a string with more than three non-alphabet characters such as "안녕你好こんにちはhello".
Is there any way of making my Windows program treat char
type as UTF-8 instead of old MBCS? For example, CreateFileA gets file name string of char*
as UTF-8, not MBCS. I guess there may be an way of doing it by calling a Win32 function or setting a value in Manifest file.