1## Copyright (C) 2016 and later: Unicode, Inc. and others. 2## License & terms of use: http://www.unicode.org/copyright.html 3## 4## Copyright (c) 2002-2010, International Business Machines Corporation 5## and others. All Rights Reserved. 6 7This directory contains sample code using ICU4C routines. Below is a 8short description of the contents of this directory. 9 10coll - shows how collation compares strings 11 12strsrch - demonstrates how to search for patterns in Unicode text using the usearch interface. 13 14translit - demonstrates the use of ICU transliteration 15 16ugrep - demonstrates ICU Regular Expressions. 17 18 19== 20* Where can I find more sample code? 21 22 - The "uconv" utility is a full-featured command line application. 23 It is normally built with ICU, and is located in icu/source/extra/uconv 24 25 - The "icu-demos" contains other applications and libraries not 26 included with ICU. You can check it out from https://github.com/unicode-org/icu-demos 27 using github clone. See the README file for additional information. 28 29== 30* How do I build the samples? 31 32 - See the Readme in each subdirectory 33 34 To build all samples at once: 35 36 Windows MSVC: 37 - build ICU 38 - open 'all' project file in 'all' subdirectory 39 - build project 40 - sample executables will be located in /x86/Debug folders of each sample subdirectory 41 42 Unix: - build and install (make install) ICU 43 - be sure 'icu-config' is accessible from the PATH 44 - type 'make all-samples' from this directory 45 (other targets: clean-samples, check-samples) 46 Note: 'make all-samples' won't work correctly in out of source builds. 47