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