-## Copyright (c) 2002-2003, International Business Machines Corporation
+## Copyright (C) 2016 and later: Unicode, Inc. and others.
+## License & terms of use: http://www.unicode.org/copyright.html#License
+##
+## Copyright (c) 2002-2010, International Business Machines Corporation
## and others. All Rights Reserved.
This directory contains sample code
case - demonstrates how to do Unicode case conversion in C and C++.
+csdet - demonstrates using ICU's CharSet Detection API
+
date - prints out the current date, localized.
datefmt - an exercise using the date formatting API
ucnv - demonstrates the use of ICU codepage conversion
-udata - demonstrates the use of ICU low level data routines
+udata - demonstrates the use of ICU low level data routines (reader/writer in 'all' MSVC solution)
ufortune - demonstrates packaging and use of resources in an application
- The "icuapps" CVS module contains other applications and libraries not
included with ICU. You can check it out from the CVS command line
by using for example, "cvs co icuapps" instead of "cvs co icu",
- or through WebCVS at http://oss.software.ibm.com/cvs/icu/icuapps/
+ or through WebCVS at http://dev.icu-project.org/cgi-bin/viewcvs.cgi/icuapps/
==
* How do I build the samples?
To build all samples at once:
+ Windows MSVC:
+ - build ICU
+ - open 'all' project file in 'all' subdirectory
+ - build project
+ - sample executables will be located in /x86/Debug folders of each sample subdirectory
+
Unix: - build and install (make install) ICU
- be sure 'icu-config' is accessible from the PATH
- type 'make all-samples' from this directory