]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/translit/util.h
1 /********************************************************************
3 * Copyright (c) 1999-2002, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #include "unicode/unistr.h"
9 // Verify that a UErrorCode is successful; exit(1) if not
10 void check(UErrorCode
& status
, const char* msg
);
12 // Replace nonprintable characters with unicode escapes
13 UnicodeString
escape(const UnicodeString
&source
);
15 // Print the given string to stdout
16 void uprintf(const UnicodeString
&str
);