home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / i18nv104.zip / SAMPLE / ICONV / READ.ME < prev   
Text File  |  1996-02-13  |  3KB  |  85 lines

  1.  
  2. ===============================================================================
  3.                   Internationalization (I18N) For OS/2                 
  4. ===============================================================================
  5.  
  6.                 Copyright IBM Corporation -- 1993, 1994, 1995
  7.  
  8. DISCLAIMER: This package is not a full implementation of the X/Open XPG4 
  9. specification and does not make any claims of XPG4 branding. It implements 
  10. only the portions of the XPG4 specification which deal with 
  11. internationalization.
  12.  
  13. X/Open is a trademark of the X/Open Company Limited.
  14.  
  15. ===============================================================================
  16.  
  17.  
  18. /************************/
  19. /***     Contents     ***/
  20. /************************/
  21.  
  22. 1.  Overview
  23. 2.  Files in this directory
  24. 3.  How to run the sample program
  25. 4.  How to compile the sample program
  26. 5.  Notes
  27.  
  28.  
  29. 1.  Overview
  30. ============
  31.  
  32. The sample program in this directory demonstrates the use of the iconv
  33. family of functions. These functions are used to convert between different
  34. code sets. 
  35.  
  36.  
  37. 2.  Files in this directory
  38. ===========================
  39.  
  40. File            Purpose
  41. ------------------------------------------------------------------------------
  42. convert.c        Source code for the convert sample program.
  43. convert.def      Definition file needed for compiling the program.
  44. makefile         Make file used to compile the sample.
  45. convert.exe      Compiled version of the convert sample.
  46. build.cmd        A command file which will compile and link the sample program.
  47. 850.txt          Test data of IBM-850 text.
  48. read.me          This file.
  49.  
  50.  
  51. 3.  How to run the sample program
  52. =================================
  53.  
  54. The following steps show how the program can be run.
  55.  
  56.      1) Execute the convert.exe program with the appropriate arguments.
  57.  
  58.         The synteax is:
  59.   
  60.           convert FROM_CODE_PAGE TO_CODE_PAGE 
  61.  
  62.         It reads from standard input and writes to standard output.
  63.  
  64.         The following example converts from IBM-850 to an EBCDIC code set:
  65.  
  66.           convert IBM-850 IBM-037 < 850.txt > 037.txt
  67.  
  68.  
  69. 4.  How to compile the sample program
  70. =====================================
  71.  
  72. NOTE: The sample program is already compiled for you.  If you want to see the
  73.  behavior of the program, you can just run it.  The following instructions
  74.  are needed only if you want to modify the program and recompile it.
  75.  
  76. To compile the sample application:
  77.  
  78.      1) Make sure that the CSET compiler and OS/2 toolkit are installed
  79.         correctly on your system.
  80.  
  81.      2) cd to the directory which contains the info source files.
  82.  
  83.      3) Type "build" at the command prompt.
  84.  
  85.