fork(2) download
  1. #include <stdio.h>
  2. #include <locale.h>
  3. #include <wchar.h>
  4. int main (int argc, char *argv[])
  5. {
  6. setlocale (LC_ALL, "en_US.UTF-8");
  7. wchar_t wc = L'ß';
  8. wchar_t wcs[] = L"€àèìòασδφ";
  9. printf ("%lc, %ls\n", wc, wcs);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.02s 3932KB
stdin
Standard input is empty
stdout
ß, €àèìòασδφ