Jakir
2003-07-04 20:16:14 UTC
Hi
Is there any way to display Japanese and Korean characters at a same time on
the Console Window. This application can be
executed on English, Japanese, or Korean Windows 2000.
I have tried a sample in which i used the function "WriteConsoleW" and passing
it the UNICODE(wchar_t*) string. Before calling
this function i even tried to set the code page of the console, but it fails. I
even tried to set the code page of console to
UTF-8 and then use the "WriteConsole" function but it displays garbage on the
console. Before calling the function "WriteConsole"
i had converted the string from UNICODE to UTF-8 using the Windows
"MultiByteToWideChar" function and passing the 1st parameter
as CP_UTF8.
Is it really possible to display UNICODE or UTF-8 characters other then Latin-1
on console window.
Thanks & regards
Jakir
Is there any way to display Japanese and Korean characters at a same time on
the Console Window. This application can be
executed on English, Japanese, or Korean Windows 2000.
I have tried a sample in which i used the function "WriteConsoleW" and passing
it the UNICODE(wchar_t*) string. Before calling
this function i even tried to set the code page of the console, but it fails. I
even tried to set the code page of console to
UTF-8 and then use the "WriteConsole" function but it displays garbage on the
console. Before calling the function "WriteConsole"
i had converted the string from UNICODE to UTF-8 using the Windows
"MultiByteToWideChar" function and passing the 1st parameter
as CP_UTF8.
Is it really possible to display UNICODE or UTF-8 characters other then Latin-1
on console window.
Thanks & regards
Jakir