• Home
Name Date Size #Lines LOC

..--

all/03-May-2024-161160

break/03-May-2024-613494

cal/03-May-2024-1,330873

case/03-May-2024-506399

citer/03-May-2024-488396

coll/03-May-2024-591511

csdet/03-May-2024-306259

date/03-May-2024-772562

datecal/03-May-2024-14988

datefmt/03-May-2024-869644

layout/03-May-2024-6,1604,190

legacy/03-May-2024-706525

msgfmt/03-May-2024-634471

numfmt/03-May-2024-833611

props/03-May-2024-393321

strsrch/03-May-2024-626544

translit/03-May-2024-1,224821

uciter8/03-May-2024-1,291971

ucnv/03-May-2024-1,9011,336

udata/03-May-2024-866699

ufortune/03-May-2024-1,4411,002

ugrep/03-May-2024-815566

uresb/03-May-2024-1,038874

ustring/03-May-2024-936649

MakefileD03-May-20242.8 KiB10467

Makefile.inD03-May-20242.8 KiB10467

defs.mkD03-May-20241,021 2916

readme.txtD03-May-20242.3 KiB7242

rules.mkD03-May-20241.1 KiB3921

readme.txt

1## Copyright (c) 2002-2005, International Business Machines Corporation
2## and others. All Rights Reserved.
3
4This directory contains sample code
5Below is a short description of the contents of this directory.
6
7break - demonstrates how to use BreakIterators in C and C++.
8
9cal      - prints out a calendar.
10
11case    - demonstrates how to do Unicode case conversion in C and C++.
12
13date     - prints out the current date, localized.
14
15datefmt  - an exercise using the date formatting API
16
17layout   - demonstrates the ICU LayoutEngine
18
19legacy   - demonstrates using two versions of ICU in one application
20
21msgfmt   - demonstrates the use of the Message Format
22
23numfmt   - demonstrates the use of the number format
24
25props    - demonstrates the use of Unicode properties
26
27strsrch - demonstrates how to search for patterns in Unicode text using the usearch interface.
28
29translit - demonstrates the use of ICU transliteration
30
31uciter8.c - demonstrates how to leniently read 8-bit Unicode text.
32
33ucnv     - demonstrates the use of ICU codepage conversion
34
35udata    - demonstrates the use of ICU low level data routines
36
37ufortune - demonstrates packaging and use of resources in an application
38
39ugrep  - demonstrates ICU Regular Expressions.
40
41uresb    - demonstrates building and loading resource bundles
42
43ustring  - demonstrates ICU string manipulation functions
44
45
46==
47* Where can I find more sample code?
48
49 - The "uconv" utility is a full-featured command line application.
50    It is normally built with ICU, and is located in icu/source/extra/uconv
51
52 - The "icuapps" CVS module contains other applications and libraries not
53    included with ICU.  You can check it out from the CVS command line
54    by using for example,  "cvs co icuapps" instead of "cvs co icu",
55   or through WebCVS at http://dev.icu-project.org/cgi-bin/viewcvs.cgi/icuapps/
56
57==
58* How do I build the samples?
59
60 - See the Readme in each subdirectory
61
62 To build all samples at once:
63
64    Unix:   - build and install (make install) ICU
65            - be sure 'icu-config' is accessible from the PATH
66            - type 'make all-samples' from this directory
67               (other targets:  clean-samples, check-samples)
68           Note: 'make all-samples' won't work correctly in out of source builds.
69
70            - legacy and layout are not included in these lists,
71                   please see their individual readmes.
72