Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* utf-8.c */
- #include <stdio.h>
- #include <wchar.h>
- int main(void)
- {
- wprintf(L"%lc\n", (wchar_t)0x20ac);
- return 0;
- }
- /*
- susnux ~/c % gcc utf-8.c
- susnux ~/c % ./a.out
- EUR
- susnux ~/c % musl-gcc utf-8.c
- susnux ~/c % ./a.out
- €
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement