X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..c5116b9f5a666b9d59f443b3770acd6ef64dc6c3:/icuSources/samples/readme.txt diff --git a/icuSources/samples/readme.txt b/icuSources/samples/readme.txt index f9b4034f..ce062e64 100644 --- a/icuSources/samples/readme.txt +++ b/icuSources/samples/readme.txt @@ -1,4 +1,7 @@ -## 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 @@ -10,6 +13,8 @@ cal - prints out a calendar. 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 @@ -32,7 +37,7 @@ uciter8.c - demonstrates how to leniently read 8-bit Unicode text. 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 @@ -52,7 +57,7 @@ ustring - demonstrates ICU string manipulation functions - 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? @@ -61,6 +66,12 @@ ustring - demonstrates ICU string manipulation functions 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