File: util.h

package info (click to toggle)
icu 4.4.1-8%2Bsqueeze2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 84,824 kB
  • ctags: 38,703
  • sloc: cpp: 277,524; ansic: 186,015; xml: 8,983; makefile: 5,343; perl: 4,159; sh: 3,749; python: 286; sed: 33
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);