Contact: aviboots(AT)netvision.net.il
39,932 questions
51,869 answers
573 users
#include <stdio.h> #include <wchar.h> // wprintf #include <locale.h> // setlocale int main() { // Set the locale to UTF-8 setlocale(LC_ALL, "en_US.UTF-8"); // Print wide string wprintf(L"你好\n"); return 0; } /* run: 你好 */