EXERCISE 2 - Codepage Conversion

  1. Review the sample program (ulsex2.c).  Try running it.  Make sure that 
     you understand it.

  2. Modify the sample program so that it converts the input text to UTF-8
     instead of HTML tag format.

  NOTE: ulsex2_uconv.c is a modified version of ulsex2.c that uses 
        UniUconvToUcs() and UniUconvFromUcs() instead of the UniStr* functions.
        Compare the two programs and take note of how the two different sets of
        functions are used.


Building Instructions

  IBM Compiler:  
      icc.exe /Ss ulsex2.c libuls.lib libconv.lib

  GCC 3.3.5:
      gcc.exe ulsex2.c


-------------------------------------------------------------------------------
Sample Output
-------------------------------------------------------------------------------

INPUT:
Welcome to Kln

OUTPUT:
Welcome to Köln
