Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <fcntl.h>
- int main() {
- _setmode(_fileno(stdout), _O_U8TEXT);
- wprintf(L"hello, 世界\n");
- wchar_t *s = L"hello again, 世界\n";
- wprintf(L"%s", s);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement