Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / icu / source / samples / numfmt / util.h
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 #include "unicode/fmtable.h"
9
10 // Verify that a UErrorCode is successful; exit(1) if not
11 void check(UErrorCode& status, const char* msg);
12
13 // Replace nonprintable characters with unicode escapes
14 UnicodeString escape(const UnicodeString &source);
15
16 // Print the given string to stdout
17 void uprintf(const UnicodeString &str);
18
19 // Create a display string for a formattable
20 UnicodeString formattableToString(const Formattable& f);