File: util.h

package info (click to toggle)
icu28 2.8-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 46,032 kB
  • ctags: 24,736
  • sloc: cpp: 171,022; ansic: 128,940; makefile: 3,845; sh: 3,111; perl: 2,661; sed: 13
file content (16 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (39)
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);