]> git.saurik.com Git - apple/icu.git/blob - icuSources/samples/translit/util.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / samples / translit / util.h
1 /***********************************************************************
2 * © 2016 and later: Unicode, Inc. and others.
3 * License & terms of use: http://www.unicode.org/copyright.html#License
4 ***********************************************************************
5 ***********************************************************************
6 * COPYRIGHT:
7 * Copyright (c) 1999-2002, International Business Machines Corporation and
8 * others. All Rights Reserved.
9 ***********************************************************************/
10
11 #include "unicode/unistr.h"
12
13 using namespace icu;
14
15 // Verify that a UErrorCode is successful; exit(1) if not
16 void check(UErrorCode& status, const char* msg);
17
18 // Replace nonprintable characters with unicode escapes
19 UnicodeString escape(const UnicodeString &source);
20
21 // Print the given string to stdout
22 void uprintf(const UnicodeString &str);