3.6 Example: NWInitUnicodeTables

   /* exuinit.c  -  NWInitUnicodeTables / NWFreeUnicodeTables example */ 
   #define NWL_EXCLUDE_TIME 
   #define NWL_EXCLUDE_FILE 
   #include <nwlocale.h> 
   #include <unicode.h> 
   #include <assert.h> 
   void main() 
   { 
      LCONV lconv; 
      nint err; 
   
      /* Get the country ID and code page from the operating system. */ 
      NWLlocaleconv(&lconv); 
      err = NWInitUnicodeTables(lconv.country_id, lconv.code_page); 
   
      /* Be sure to check return value before proceeding. */ 
      assert (err == 0);
    
      /* 
         . 
         . 
         . 
      */ 
      NWFreeUnicodeTables(); 
   }