scuffed-code/icu4c/source/samples/XMLConverter
Yves Arrouye 0d35fb05a2 ICU-390 define the right cpp symbols for compilation under Linux
and Solaris when gcc -ansi is used (which negates POSIX, X/Open, BSD, and
SVID specific definitions in the standard libraries, definitions that ICU
needs).

X-SVN-Rev: 1354
2000-05-12 01:15:50 +00:00
..
samples ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_ 1999-12-28 23:57:50 +00:00
Makefile.in ICU-310 check foran empty $(MAKECMDGOALS) and also include dependencies 2000-04-13 22:08:07 +00:00
README ICU-161 updated the copyright notices. 2000-01-15 02:00:06 +00:00
XMLConverter.cpp ICU-390 define the right cpp symbols for compilation under Linux 2000-05-12 01:15:50 +00:00
XMLConverter.dsp ICU-193 samples for icu ported to Win32 1999-12-30 03:07:17 +00:00
XMLConverter.dsw ICU-193 samples for icu ported to Win32 1999-12-30 03:07:17 +00:00
XMLConverter.hpp ICU-161 updated the copyright notices. 2000-01-15 02:00:06 +00:00

Friday, Aug 13, 1999              ICU XMLConverter Sample
-------------------- 

  XMLConverter is an example which demonstrates codepage converersion
between XML files.  (For more information on XML, see the IBM XML4C
project which is available at:
                         http://www.alphaWorks.ibm.com/tech/xml4c
  The XML4C++ uses ICU internally for conversion.)


  XML Files contain their encoding at the top, as in the following
example:

    <?xml version="1.0" encoding="ascii" ?>

  To use the XMLConverter, try the following example:

   XMLConverter -v -e utf-16be samples/animal.xml samples/animal_utf16.xml

  This will create a file named animal_utf16.xml which is in the utf16
big-endian codepage.

Currently the following encodings are supported:

 ascii, utf8, utf-16be, utf-16le, ebcdic-cp-us

---
**********************************************************************
* Copyright (C) 1998-2000, International Business Machines Corporation 
* and others.  All Rights Reserved.
**********************************************************************
IBM Center for Java Technology Silicon Valley,
10275 N De Anza Blvd., Cupertino, CA 95014 
All rights reserved. 
Internet email to icu4c@us.ibm.com