Facebook
From Mustard Partdridge, 4 Years ago, written in C.
Embed
Download Paste or View Raw
Hits: 222
  1. /* setlocale example */
  2. #include <stdio.h>      /* printf */
  3. #include <locale.h>     /* struct lconv, setlocale, localeconv */
  4.  
  5. int main ()
  6. {
  7.   struct lconv * lc;
  8.   printf ("ąćźżn");
  9.   lc = localeconv ();
  10.   printf ("ąćźżn");
  11.  
  12.   setlocale (LC_ALL,"");
  13.  
  14.   return 0;
  15. }
  16.