summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-50.1/samples/msgfmt/util.h
blob: 2d9c4c724e2c4c8aa7a0f3bea4d7f1b2159878cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/********************************************************************
 * COPYRIGHT:
 * Copyright (c) 1999-2002, International Business Machines Corporation and
 * others. All Rights Reserved.
 ********************************************************************/

#include "unicode/unistr.h"

// Verify that a UErrorCode is successful; exit(1) if not
void check(UErrorCode& status, const char* msg);

// Replace nonprintable characters with unicode escapes
UnicodeString escape(const UnicodeString &source);

// Print the given string to stdout
void uprintf(const UnicodeString &str);